ENDROPFILES structure (richedit.h)

Contains information associated with an EN_DROPFILES notification code. A rich edit control sends this notification code when it receives a WM_DROPFILES message.

Syntax

typedef struct _endropfiles {
  NMHDR  nmhdr;
  HANDLE hDrop;
  LONG   cp;
  BOOL   fProtected;
} ENDROPFILES;

Members

nmhdr

Type: NMHDR

Notification header.

hDrop

Type: HANDLE

Handle to the dropped files list (same as with WM_DROPFILES ). This handle is used with the DragFinish, DragQueryFile, and DragQueryPoint functions.

cp

Type: LONG

Character position at which the dropped files would be inserted.

fProtected

Type: BOOL

Indicates whether the specified character position is protected (TRUE) or not protected (FALSE).

Requirements

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