WS_RESET_CHANNEL_CALLBACK callback function (webservices.h)

Handles the WsResetChannel call for a WS_CUSTOM_CHANNEL_BINDING.

Syntax

WS_RESET_CHANNEL_CALLBACK WsResetChannelCallback;

HRESULT WsResetChannelCallback(
  [in]           void *channelInstance,
  [in, optional] WS_ERROR *error
)
{...}

Parameters

[in] channelInstance

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

[in, optional] error

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

Return value

Return code Description
WS_E_INVALID_OPERATION
The channel was in an inappropriate state.

Remarks

See WsResetChannel for information about the contract of this API.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header webservices.h