WsWriteNode function (webservices.h)
Writes the specified node to the XML Writer.
Syntax
HRESULT WsWriteNode(
[in] WS_XML_WRITER *writer,
[in] const WS_XML_NODE *node,
[in, optional] WS_ERROR *error
);
Parameters
[in] writer
A pointer to the WS_XML_WRITER object to which the node is written. The pointer must reference a valid XML Writer object.
[in] node
A pointer to the Node object to write to the document.
[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
This function can return one of these values.
Return code | Description |
---|---|
|
One or more arguments are invalid. |
|
The operation is not allowed due to the current state of the object. |
|
The input data was not in the expected format or did not have the expected value. |
|
A quota was exceeded. |
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 |