2.2.1.2 Version 2 (RDP_PRECONNECTION_PDU_V2)

The RDP_PRECONNECTION_PDU_V2 extends the RDP_PRECONNECTION_PDU_V1 packet by adding a variable-size Unicode character string. The receiver of this PDU can use this string and the Id field of the RDP_PRECONNECTION_PDU_V1 packet to determine the RDP source. This string is opaque to the protocol.


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

version1PDU (16 bytes)

...

...

cchPCB

wszPCB (variable)

...

version1PDU (16 bytes): The RDP_PRECONNECTION_PDU_V1 header, as specified in section 2.2.1.1.

cchPCB (2 bytes): An unsigned 16-bit integer. The number of Unicode characters in the wszPCB field.

wszPCB (variable): A variable-length array of Unicode characters.