2.5.167 XLNullableWideString

The XLNullableWideString specifies a length-prefixed Unicode string that can additionally specify a string that is NULL. For convenience, references to characters in a string specified by this or a derived type use those Unicode characters.


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 (4 bytes): An unsigned integer that specifies the number of characters. This value MUST be 0xFFFFFFFF if a NULL string is specified.

rgchData (variable): An array of Unicode characters that specifies the characters of the string. If a NULL string is specified, the size of this array in bytes MUST be 0. If a NULL string is not specified, the size of this array in bytes MUST equal the following formula:

size = cchCharacters * 2