2.5.296 XLUnicodeStringNoCch

The XLUnicodeStringNoCch structure specifies a Unicode string. When an XLUnicodeStringNoCch is used, the count of characters in the string MUST be specified in the structure that uses the XLUnicodeStringNoCch.


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

A

reserved

rgb (variable)

...

A - fHighByte (1 bit): A bit that specifies whether the characters in rgb are double-byte characters. 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): MUST be zero, and MUST be ignored.

rgb (variable): An array of bytes that specifies the characters. If fHighByte is 0x0, the size of the array MUST be equal to the count of characters in the string. If fHighByte is 0x1, the size of the array MUST be equal to 2 times the count of characters in the string.