DROPDESCRIPTION structure (shlobj_core.h)

Describes the image and accompanying text for a drop object.

Syntax

typedef struct {
  DROPIMAGETYPE type;
  WCHAR         szMessage[MAX_PATH];
  WCHAR         szInsert[MAX_PATH];
} DROPDESCRIPTION;

Members

type

Type: DROPIMAGETYPE

A DROPIMAGETYPE indicating the stock image to use.

szMessage[MAX_PATH]

Type: WCHAR[MAX_PATH]

Text such as "Move to %1".

szInsert[MAX_PATH]

Type: WCHAR[MAX_PATH]

Text such as "Documents", inserted as specified by szMessage.

Remarks

Some UI coloring is applied to the text in szInsert if used by specifying %1 in szMessage. The characters %% and %1 are the subset of FormatMessage markers that are processed here.

Requirements

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