2.2.2.7 Server Core Capability Request (DR_CORE_CAPABILITY_REQ)

 The server announces its capabilities and requests the same from the client.


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

Header

numCapabilities

Padding

CapabilityMessage (variable)

...

Header (4 bytes): An RDPDR_HEADER header. The Component field MUST be set to RDPDR_CTYP_CORE, and the PacketId field MUST be set to PAKID_CORE_SERVER_CAPABILITY.

numCapabilities (2 bytes):  A 16-bit integer that specifies the number of items in the CapabilityMessage array.

Padding (2 bytes): A 16-bit unsigned integer of padding. This field is unused and MUST be ignored.

CapabilityMessage (variable): An array of CAPABILITY_SET structures (section 2.2.1.2.1). The number of capabilities is specified by the numCapabilities field.