0 out of 2 rated this helpful - Rate this topic

DROPFILES structure

Applies to: desktop apps only

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

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Shlobj.h

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ