2.5.92 LPWideString

The LPWideString type specifies a Unicode string that is prefixed by a length.

The following packet diagram specifies this type.


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

cchCharacters

rgchData (variable)

...

cchCharacters (2 bytes): An unsigned integer that specifies the number of characters.

rgchData (variable): An array of Unicode characters that specifies the characters of the string. The size of this array in bytes MUST equal the following formula (section 2.2.2):

cchCharacters * 2