WSDXMLBuildAnyForSingleElement (Windows Embedded CE 6.0)
1/6/2010
This function creates an XML element with a specified name and value. The created element can be used as the child of an XML <any> element.
Syntax
HRESULT STDAPI WSDXMLBuildAnyForSingleElement(
WSDXML_NAME* pElementName,
const LPCWSTR* pszText,
WSDXML_ELEMENT** ppAny
);
Parameters
- pElementName
[in] Reference to a WSDXML_NAME structure that contains the name of the created element.
- pszText
[in] The text value of the created element.
- ppAny
[out] Reference to a WSDXML_ELEMENT that contains the created element.
Return Value
The following table shows the possible error code return values.
Error Code | Description |
---|---|
S_OK |
The function succeeded. |
E_INVALIDORG |
pElementName is NULL or the length in characters of pszText exceeds WSD_MAX_TEXT_LENGTH (8192). |
E_POINTER |
ppAny is NULL. |
E_OUTOFMEMORY |
Insufficient memory to complete the operation. |
Requirements
Header | wsdapi.h |
Library | wsdapi.lib |
Windows Embedded CE | Windows Embedded CE 6.0 R2 |
See Also
Reference
Web Services on Devices Functions
Web Services on Devices Reference