Skip to content

Latest commit

 

History

History
98 lines (84 loc) · 2.5 KB

nf-webservices-wswriteendelement.md

File metadata and controls

98 lines (84 loc) · 2.5 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:webservices.WsWriteEndElement
WsWriteEndElement function (webservices.h)
Writes an end element to a Writer.
WsWriteEndElement
WsWriteEndElement function [Web Services for Windows]
webservices/WsWriteEndElement
wsw.wswriteendelement
wsw\wswriteendelement.htm
wsw
cfb23857-bc51-4467-9aeb-6ce8810ae1b0
12/05/2018
WsWriteEndElement, WsWriteEndElement function [Web Services for Windows], webservices/WsWriteEndElement, wsw.wswriteendelement
webservices.h
Windows
Windows 7 [desktop apps \| UWP apps]
Windows Server 2008 R2 [desktop apps \| UWP apps]
WebServices.lib
WebServices.dll
Windows
19H1
WsWriteEndElement
webservices/WsWriteEndElement
c++
APIRef
kbSyntax
DllExport
WebServices.dll
WsWriteEndElement

WsWriteEndElement function

-description

Writes an end element to a Writer. If the writer has no open elements, the function returns WS_E_INVALID_FORMAT. (See Windows Web Services Return Values.) If the encoding supports empty elements, and no content was written between the start element and end element, an empty element will be written.

-parameters

-param writer [in]

A pointer to the WS_XML_WRITER object to which the end element is written. The pointer must reference a valid XML Writer object.

-param error [in, optional]

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

-returns

This function can return one of these values.

Return code Description
E_INVALIDARG
One or more arguments are invalid.
WS_E_INVALID_OPERATION
The operation is not allowed due to the current state of the object.