DROPFILES structure (shlobj_core.h)

Defines the CF_HDROP clipboard format. The data that follows is a double null-terminated list of file names.

Syntax

typedef struct _DROPFILES {
  DWORD pFiles;
  POINT pt;
  BOOL  fNC;
  BOOL  fWide;
} DROPFILES, *LPDROPFILES;

Members

pFiles

Type: DWORD

The offset of the file list from the beginning of this structure, in bytes.

pt

Type: POINT

The drop point. The coordinates depend on fNC.

fNC

Type: BOOL

A nonclient area flag. If this member is TRUE, pt specifies the screen coordinates of a point in a window's nonclient area. If it is FALSE, pt specifies the client coordinates of a point in the client area.

fWide

Type: BOOL

A value that indicates whether the file contains ANSI or Unicode characters. If the value is zero, the file contains ANSI characters. Otherwise, it contains Unicode characters.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header shlobj_core.h (include Shlobj.h)