7.2 Clipboard Enumerated Values

The following list shows the enumerated values that specify system-defined Clipboard formats:

Value Meaning

CF_BITMAP The data is a bitmap.
CF_DIB The data is a memory block containing a BITMAPINFO structure followed by the bitmap data.
CF_DIF The data is in Data Interchange Format (Software Arts).
CF_DSPBITMAP The data is a bitmap representation of a private format. This data is displayed in bitmap format in lieu of the privately formatted data.
CF_DSPMETAFILEPICT The data is a metafile representation of a private data format. This data is displayed in metafile-picture format in lieu of the privately formatted data.
CF_DSPTEXT The data is a textual representation of a private data format. This data is displayed in text format in lieu of the privately formatted data.
CF_METAFILEPICT The data is a metafile (for more information, see description of METAFILEPICT structure).
CF_OEMTEXT The data is an array of text characters in the OEM character set. Each line ends with a carriage return–linefeed combination. A null character signals the end of the data.
CF_OWNERDISPLAY The data is in a private format that the Clipboard owner must display.
CF_PALETTE The data is a color palette.
CF_SYLK The data is in Microsoft Symbolic Link (SYLK) format.
CF_TEXT The data is an array of text characters. Each line ends with a carriage return–linefeed combination. A null character signals the end of the data.
CF_TIFF The data is in Tag Image File Format.

Private data formats in the range of CF_PRIVATEFIRST to CF_PRIVATELAST are not automatically freed when the data is deleted from the Clipboard. Data handles associated with these formats should be freed upon receiving a WM_DESTROYCLIPBOARD message.

Private data formats in the range of CF_GDIOBJFIRST to CF_GDIOBJLAST will be automatically deleted with a call to CGdiObject::DeleteObject when the data is deleted from the Clipboard.