WS_XML_STRING_DICTIONARY_VALUE macro (webservices.h)

Provides an initializer for a WS_XML_STRING structure when there is an associated dictionary ID.

Syntax

void WS_XML_STRING_DICTIONARY_VALUE(
   S,
   D,
   I
);

Parameters

S

A static constant string, encoded in UTF-8.

D

A string dictionary.

I

The ID.

Return value

None

Remarks

This initializer assumes the string is a static constant string. It must be encoded in UTF-8.

The following is example usage:

WS_XML_STRING myString = WS_XML_STRING_DICTIONARY_VALUE("MyString", myDictionary, 5);

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