2.2.1.1 Shared Message Header (PNP_INFO_HEADER)

All messages in the PNP Device Info Subprotocol have a common header, which is followed by a message-specific payload, as described in the following sections.


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

Size

PacketId

Message-specific payload (variable)

...

Size (4 bytes):  A 32-bit unsigned integer that indicates the size of the packet, including the payload.

PacketId (4 bytes):  A 32-bit unsigned integer representing a unique packet ID that identifies the message. The PacketId field MUST be one of the following values.

Value

Meaning

IRPDR_ID_VERSION

0x00000065

Client or Server Version message

IRPDR_ID_REDIRECT_DEVICES

0x00000066

Client Device Addition message

IRPDR_ID_SERVER_LOGON

0x00000067

Authenticated Client message

IRPDR_ID_UNREDIRECT_DEVICE

0x00000068

Client Device Removal message

Message-specific payload (variable): An array of unsigned 8-bit integers describing the payload of the message that corresponds to the interface for which the packet is sent. The specific structure of the payload is specified by the message descriptions in sections 2.2.1.2.1, 2.2.1.2.2, and 2.2.1.2.3.