WSDXMLCreateContext function (wsdxml.h)

Creates a new IWSDXMLContext object.

Syntax

HRESULT WSDXMLCreateContext(
  [out] IWSDXMLContext **ppContext
);

Parameters

[out] ppContext

Pointer to a newly allocated IWSDXMLContext object. If the function fails, this parameter can be NULL.

Return value

Possible return values include, but are not limited to, the following:

Return code Description
S_OK
Method completed successfully.
E_POINTER
ppContext is NULL.
E_OUTOFMEMORY
Insufficient memory to complete the operation.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wsdxml.h
Library WsdApi.lib
DLL WsdApi.dll