Skip to content

Latest commit

 

History

History
128 lines (107 loc) · 3.16 KB

nf-wsdxml-iwsdxmlcontext-settypes.md

File metadata and controls

128 lines (107 loc) · 3.16 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:wsdxml.IWSDXMLContext.SetTypes
IWSDXMLContext::SetTypes (wsdxml.h)
Associates custom message types with the XML context object.
IWSDXMLContext interface
SetTypes method
IWSDXMLContext.SetTypes
IWSDXMLContext::SetTypes
SetTypes
SetTypes method
SetTypes method
IWSDXMLContext interface
ncd.iwsdxmlcontext_settypes_method
wsdxml/IWSDXMLContext::SetTypes
ncd\iwsdxmlcontext_settypes_method.htm
ncd
c3bf56e1-42c6-4ecf-971f-2a6253fba0bc
12/05/2018
IWSDXMLContext interface,SetTypes method, IWSDXMLContext.SetTypes, IWSDXMLContext::SetTypes, SetTypes, SetTypes method, SetTypes method,IWSDXMLContext interface, ncd.iwsdxmlcontext_settypes_method, wsdxml/IWSDXMLContext::SetTypes
wsdxml.h
Wsdapi.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
WsdXml.idl
Wsdapi.dll
Windows
19H1
IWSDXMLContext::SetTypes
wsdxml/IWSDXMLContext::SetTypes
c++
APIRef
kbSyntax
COM
Wsdapi.dll
IWSDXMLContext.SetTypes

IWSDXMLContext::SetTypes

-description

Associates custom message types with the XML context object.

This method should only be called by generated code, and should not be called directly by a WSDAPI client. Instead, the code generator will provide wrappers that access this method properly.

-parameters

-param pTypes [in]

An array of WSDXML_TYPE structures that represent the set of messages for the generated code.

-param dwTypesCount [in]

The number of types in the pTypes array.

-param bLayerNumber [in]

The layer number associated with the generated service code.

-returns

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

Return code Description
S_OK
Method completed successfully.
E_INVALIDARG
pTypes is NULL or bLayerNumber is greater than or equal to WSD_XMLCONTEXT_NUM_LAYERS (16).
E_OUTOFMEMORY
Insufficient memory to complete the operation.
E_FAIL
The method failed.

-see-also

IWSDXMLContext