Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Releases the resources associated with a session in the client.
Syntax
DWORD WDSTCIAPI WdsTransportClientCancelSession(
[in] HANDLE hSessionKey
);
Parameters
[in] hSessionKey
Unique handle returned by the call to WdsTransportClientInitializeSession. This session will eventually complete with an error code of ERROR_CANCELLED to the callback PFN_WdsTransportClientSessionComplete callback.
Return value
If the function succeeds, the return value is ERROR_SUCCESS.
Remarks
It is safe to call this function from within a callback.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista with SP1 [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | wdstci.h |
| Library | Wdstptc.lib |
| DLL | Wdstptc.dll |