WdsTransportClientCloseSession function (wdstci.h)
Releases the resources associated with a session in the client.
Syntax
DWORD WDSTCIAPI WdsTransportClientCloseSession(
[in] HANDLE hSessionKey
);
Parameters
[in] hSessionKey
Unique handle returned by the call to WdsTransportClientInitializeSession. After this handle has been used with the WdsTransportClientCloseSession, it cannot be used again with the WdsTransportClientCancelSession function.
Return value
If the function succeeds, the return value is ERROR_SUCCESS.
Remarks
This function does not cancel the session and callbacks can be received until session completes.
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 |