2.2 Clipboard-File Structure

The header is followed by one or more structures, each of which identifies the format, size, and offset of a block containing clipboard data. Following are the members in this structure:

FormatID

Specifies the clipboard-format identifier of the clipboard data. For information on clipboard formats, see the description of the SetClipboardData function in the Microsoft Windows Programmer's Reference, Volume 2. This is a 2-byte value.

LenData

Specifies the length, in bytes, of the clipboard data. This is a 4-byte value.

OffData

Specifies the offset, in bytes, of the clipboard-data block. The offset is from the beginning of the file. This is a 4-byte value.

Name

Identifies a 79-character array specifying the format name of a private clipboard format.

The first block of clipboard data follows the last of these structures. For bitmaps and metafiles, the bits follow immediately after the bitmap header and the METAFILEPICT structures. For a description of the METAFILEPICT structure, see the Microsoft Windows Programmer's Reference, Volume 3.