2.5.98.102 XLUnicodeString

The XLUnicodeString structure specifies a Unicode string.


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

cch

A

reserved

rgb (variable)

...

cch (2 bytes): An unsigned integer that specifies the count of characters in the string.

A - fHighByte (1 bit): A bit that specifies whether the characters in rgb are double-byte characters. It MUST be a value from the following table.

Value

Meaning

0x0

All the characters in the string have a high byte of 0x00 and only the low bytes are in rgb.

0x1

All the characters in the string are saved as double-byte characters in rgb.

reserved (7 bits): This value MUST be 0, and MUST be ignored.

rgb (variable): An array of bytes that specifies the characters. If the value of fHighByte is 0x0, the size of the array MUST be equal to cch. If the value of fHighByte is 0x1, the size of the array MUST be equal to cch*2.