2.2.2.1.1 Capability Set (CLIPRDR_CAPS_SET)

The CLIPRDR_CAPS_SET structure is used to wrap capability set data and to specify the type and size of this data exchanged between the client and the server. All capability sets conform to this basic structure.


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

capabilitySetType

lengthCapability

capabilityData (variable)

...

capabilitySetType (2 bytes): An unsigned, 16-bit integer used as a type identifier of the capability set.

Value

Meaning

CB_CAPSTYPE_GENERAL

0x0001

General Capability Set

lengthCapability (2 bytes): An unsigned, 16-bit integer that specifies the combined length, in bytes, of the capabilitySetType, capabilityData and lengthCapability fields.

capabilityData (variable): Capability set data specified by the type given in the capabilitySetType field. This field is a variable number of bytes.