2.2.1.1 Shared Header (RDPDR_HEADER)
This header is present at the beginning of every message in this protocol. The purpose of this header is to describe the type of the message.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Component |
PacketId |
Component (2 bytes): A 16-bit unsigned integer that identifies the component to which the packet is sent. This field MUST be set to one of the following values.
-
Value
Meaning
RDPDR_CTYP_CORE
0x4472
Device redirector core component; most of the packets in this protocol are sent under this component ID.
RDPDR_CTYP_PRN
0x5052
Printing component. The packets that use this ID are typically about printer cache management and identifying XPS printers.
PacketId (2 bytes): A 16-bit unsigned integer. The PacketId field is a unique ID that identifies the packet function. This field MUST be set to one of the following values.
-
Value
Meaning
PAKID_CORE_SERVER_ANNOUNCE
0x496E
Server Announce Request, as specified in section 2.2.2.2.
PAKID_CORE_CLIENTID_CONFIRM
0x4343
Client Announce Reply and Server Client ID Confirm, as specified in sections 2.2.2.3 and 2.2.2.6.
PAKID_CORE_CLIENT_NAME
0x434E
Client Name Request, as specified in section 2.2.2.4.
PAKID_CORE_DEVICELIST_ANNOUNCE
0x4441
Client Device List Announce Request, as specified in section 2.2.2.9.
PAKID_CORE_DEVICE_REPLY
0x6472
Server Device Announce Response, as specified in section 2.2.2.1.
PAKID_CORE_DEVICE_IOREQUEST
0x4952
Device I/O Request, as specified in section 2.2.1.4.
PAKID_CORE_DEVICE_IOCOMPLETION
0x4943
Device I/O Response, as specified in section 2.2.1.5.
PAKID_CORE_SERVER_CAPABILITY
0x5350
Server Core Capability Request, as specified in section 2.2.2.7.
PAKID_CORE_CLIENT_CAPABILITY
0x4350
Client Core Capability Response, as specified in section 2.2.2.8.
PAKID_CORE_DEVICELIST_REMOVE
0x444D
Client Drive Device List Remove, as specified in section 2.2.3.2.
PAKID_PRN_CACHE_DATA
0x5043
Add Printer Cachedata, as specified in [MS-RDPEPC] section 2.2.2.3.
PAKID_CORE_USER_LOGGEDON
0x554C
Server User Logged On, as specified in section 2.2.2.5.
PAKID_PRN_USING_XPS
0x5543
Server Printer Set XPS Mode, as specified in [MS-RDPEPC] section 2.2.2.2.