WS_RESET_LISTENER_CALLBACK callback function (webservices.h)

Handles the WsResetListener call for a WS_CUSTOM_CHANNEL_BINDING.

Syntax

WS_RESET_LISTENER_CALLBACK WsResetListenerCallback;

HRESULT WsResetListenerCallback(
  [in]           void *listenerInstance,
  [in, optional] WS_ERROR *error
)
{...}

Parameters

[in] listenerInstance

The pointer to the state specific to this listener instance, as created by the WS_CREATE_LISTENER_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 listener was in an inappropriate state.

Remarks

See WsResetListener 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