WS_MESSAGE_DONE_CALLBACK callback function (webservices.h)
Notifies the caller that the message has completed its use of either the WS_XML_READER structure that was supplied to WsReadEnvelopeStart function, or of the WS_XML_WRITER structure supplied to the WsWriteEnvelopeStart function.
Syntax
WS_MESSAGE_DONE_CALLBACK WsMessageDoneCallback;
void WsMessageDoneCallback(
[in] void *doneCallbackState
)
{...}
Parameters
[in] doneCallbackState
A pointer to state information passed to the WsReadEnvelopeStart or WsWriteEnvelopeStart function.
This parameter can be used to specify a pointer to user-defined data required by the callback.
Return value
None
Remarks
This callback can be used as an indicator that the message object is no longer using the reader or writer.
The callback is specified when WsReadEnvelopeStart or WsWriteEnvelopeStart is called.
The callback should assume that it is invoked as a WS_SHORT_CALLBACK, since it will be invoked on the same thread that calls WsFreeMessage or WsResetMessage.
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 |