WS_STRING structure (webservices.h)

An array of Unicode characters and a length.

Syntax

typedef struct _WS_STRING {
  ULONG length;
  WCHAR *chars;
} WS_STRING;

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 | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Header webservices.h