Clipboard Formats for Shell Data Transfers

Windows allows the user to transfer data objects between applications and the shell. The user can transfer data objects, such as printers, files, shortcuts, and folders, either by dragging and dropping them or by using the Cut, Copy, and Paste menu commands. Both transfer methods involve the clipboard.

Windows defines several clipboard formats that you must support to transfer objects between your application and the shell. The Windows header files do not include predefined clipboard format identifiers for these clipboard formats. Instead, they provide a set of clipboard format names and corresponding values. To obtain an identifier for a clipboard format, you simply pass the format's value to the RegisterClipboardFormat function. The following table lists the values and corresponding clipboard format names.

Value
Format name
CFSTR_SHELLIDLIST
"Shell IDList Array"
CFSTR_SHELLIDLISTOFFSET
"Shell Object Offsets"
CFSTR_NETRESOURCES
"Net Resource"
CFSTR_FILEDESCRIPTOR
"FileGroupDescriptor"
CFSTR_FILECONTENTS
"FileContents"
CFSTR_FILENAME
"FileName"
CFSTR_PRINTERGROUP
"PrinterFriendlyName"
CFSTR_FILENAMEMAP
"FileNameMap"

The following sections describe the clipboard formats used to transfer data between applications and the shell.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database