WS_FREE_CHANNEL_CALLBACK callback function (webservices.h)

Handles the WsFreeChannel call for a WS_CUSTOM_CHANNEL_BINDING.

Syntax

WS_FREE_CHANNEL_CALLBACK WsFreeChannelCallback;

void WsFreeChannelCallback(
  [in] void *channelInstance
)
{...}

Parameters

[in] channelInstance

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

The callback should free this pointer.

Return value

None

Remarks

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