2.3.3.1.6 Lpwstr
Referenced by: VtHyperlink, VtString, VtUnalignedString, VtVecLpwstrValue
Specifies data for a null-terminated Unicode character string. This type deviates from the UnicodeString type specified in [MS-OLEPS] section 2.7 in the limit to the length of the string and in the way the length is specified in characters and not bytes.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cch |
|||||||||||||||||||||||||||||||
value (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
padding (variable) |
|||||||||||||||||||||||||||||||
... |
cch (4 bytes): An unsigned integer specifying the number of Unicode characters written as the value field including the terminating NULL character. SHOULD be less than or equal to 0x0000FFFF.<19>
value (variable): A null-terminated array of Unicode characters defining the string.
padding (variable): An array of bytes. The length of the array MUST be the smallest number of bytes required to pad the size of the value field to a multiple of 4 bytes. The padding SHOULD be 0x00 values, but MAY be undefined values, and MUST be ignored.<20>