2.2.2.1 Clipboard Capabilities PDU (CLIPRDR_CAPS)

The Clipboard Capabilities PDU is an optional PDU used to exchange capability information. It is first sent from the server to the client. Upon receipt of the Monitor Ready PDU, the client sends the Clipboard Capabilities PDU to the server.

If this PDU is not sent by a Remote Desktop Protocol: Clipboard Virtual Channel Extension endpoint, it is assumed that the endpoint is using the default values for each capability field.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

clipHeader

...

cCapabilitiesSets

pad1

capabilitySets (variable)

...

clipHeader (8 bytes): A Clipboard PDU Header. The msgType field of the Clipboard PDU Header MUST be set to CB_CLIP_CAPS (0x0007), while the msgFlags field MUST be set to 0x0000.

cCapabilitiesSets (2 bytes): An unsigned, 16-bit integer that specifies the number of CLIPRDR_CAPS_SETs, present in the capabilitySets field.

pad1 (2 bytes): An unsigned, 16-bit integer used for padding. Values in this field are ignored.

capabilitySets (variable): A variable-sized array of capability sets, each conforming in structure to the CLIPRDR_CAPS_SET.