WS_STRING structure
An array of Unicode characters and a length.
Syntax
struct WS_STRING {
ULONG length;
WCHAR* chars;
};
Members
- length
-
The number of characters in the string.
- chars
-
The array of characters that make up the string.
Remarks
The string is not required to be zero terminated. If it is zero terminated, then the terminating character is not included in the length.
The macro WS_STRING_VALUE can be used to initialize this structure if the string is a constant string.
Requirements
|
Minimum supported client | Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Header |
|