WS_STRING_VALUE macro (webservices.h)

Initializes a WS_STRING structure given a constant string.

Syntax

void WS_STRING_VALUE(
   S
);

Parameters

S

The initializer string.

Return value

None

Remarks

The initializer string is assumed to be zero terminated.

Examples

The following is an example of how to use the macro.

WS_STRING myString = WS_STRING_VALUE(L"MyString");

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header webservices.h