2.2.3.3 RegisteredClipboardFormatPresentationObject
The RegisteredClipboardFormatPresentationObject structure specifies a presentation data type that is used to display linked objects or embedded objects in container applications. The presentation data is identified using a registered Clipboard Format (section 1.7.1).
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Header (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
StringFormatDataSize (optional) |
|||||||||||||||||||||||||||||||
StringFormatData (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
PresentationDataSize |
|||||||||||||||||||||||||||||||
PresentationData (variable) |
|||||||||||||||||||||||||||||||
... |
Header (variable): This MUST be a ClipboardFormatHeader (see section 2.2.3.1). The ClipboardFormat field MUST be set to 0x00000000.
StringFormatDataSize (4 bytes): This MUST be set to the size, in bytes, of the StringFormatData field.
StringFormatData (variable): This MUST be a LengthPrefixedAnsiString (section 2.1.4) or a LengthPrefixedUnicodeString (section 2.1.5), either of which contain a registered clipboard format name (section 1.7.1).
PresentationDataSize (4 bytes): This MUST be set to the size in, bytes, of the PresentationData field.
PresentationData (variable): This MUST be an array of bytes that contains the presentation data that is supplied by an application or a higher-level protocol.