WS_OPERATION_FREE_STATE_CALLBACK callback function (webservices.h)

Allows an application to cleanup state information that was registered with cancellation callback.

This callback is invoked by service model.

Syntax

WS_OPERATION_FREE_STATE_CALLBACK WsOperationFreeStateCallback;

void WsOperationFreeStateCallback(
  [in] void *state
)
{...}

Parameters

[in] state

A reference to the application defined state registered with the callback.

Return value

None

Remarks

See WsRegisterOperationForCancel for details.

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