Skip to content

Latest commit

 

History

History
108 lines (89 loc) · 3.22 KB

nc-webservices-ws_abandon_message_callback.md

File metadata and controls

108 lines (89 loc) · 3.22 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
NC:webservices.WS_ABANDON_MESSAGE_CALLBACK
WS_ABANDON_MESSAGE_CALLBACK (webservices.h)
Handles the WsAbandonMessage call for a WS_CUSTOM_CHANNEL_BINDING.
WS_ABANDON_MESSAGE_CALLBACK
WS_ABANDON_MESSAGE_CALLBACK callback
WS_ABANDON_MESSAGE_CALLBACK callback function [Web Services for Windows]
webservices/WS_ABANDON_MESSAGE_CALLBACK
wsw.ws_abandon_message_callback
wsw\ws_abandon_message_callback.htm
wsw
494cfb49-c09e-4f51-85fd-5bb0f8d0a45d
12/05/2018
WS_ABANDON_MESSAGE_CALLBACK, WS_ABANDON_MESSAGE_CALLBACK callback, WS_ABANDON_MESSAGE_CALLBACK callback function [Web Services for Windows], webservices/WS_ABANDON_MESSAGE_CALLBACK, wsw.ws_abandon_message_callback
webservices.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Windows
19H1
WS_ABANDON_MESSAGE_CALLBACK
webservices/WS_ABANDON_MESSAGE_CALLBACK
c++
APIRef
kbSyntax
UserDefined
WebServices.h
WS_ABANDON_MESSAGE_CALLBACK

WS_ABANDON_MESSAGE_CALLBACK callback function

-description

Handles the WsAbandonMessage call for a WS_CUSTOM_CHANNEL_BINDING.

-parameters

-param channelInstance [in]

Pointer to the state specific to this channel instance, as created by the WS_CREATE_CHANNEL_CALLBACK.

-param message [in]

The message that is current being read or written. This should be the same message as was passed to WsWriteMessageStart or WsReadMessageStart.

-param error [in, optional]

Specifies where additional error information should be stored if the function fails.

-returns

Return code Description
WS_E_INVALID_OPERATION
This is returned if the channel is not in the WS_CHANNEL_STATE_OPEN state or the WS_CHANNEL_STATE_FAULTED state.
E_INVALIDARG
The specified message is not currently being read or written using the channel.

-remarks

See WsAbandonMessage for information about the contract of this API.