WsGetDictionary function (webservices.h)

Retrieves an XML Dictionary object. The retrieved Dictionary is returned by the dictionary reference parameter.

Syntax

HRESULT WsGetDictionary(
  [in]           WS_ENCODING       encoding,
                 WS_XML_DICTIONARY **dictionary,
  [in, optional] WS_ERROR          *error
);

Parameters

[in] encoding

Indicates an enumeration of the Dictionary encoding.

dictionary

A reference to a WS_XML_DICTIONARY structure for the retrieved Dictionary.

[in, optional] error

A pointer to a WS_ERROR object where additional information about the error should be stored if the function fails.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header webservices.h
Library WebServices.lib
DLL WebServices.dll