ENPROTECTED structure (richedit.h)

Contains information associated with an EN_PROTECTED notification code. A rich edit control sends this notification when the user attempts to edit protected text.

Syntax

typedef struct _enprotected {
  NMHDR     nmhdr;
  UINT      msg;
  WPARAM    wParam;
  LPARAM    lParam;
  CHARRANGE chrg;
} ENPROTECTED;

Members

nmhdr

Type: NMHDR

NMHDR notification header.

msg

Type: UINT

Message that triggered the notification.

wParam

Type: WPARAM

The wParam parameter of the message.

lParam

Type: LPARAM

The lParam parameter of the message.

chrg

Type: CHARRANGE

The current selection.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header richedit.h

See also

EN_PROTECTED