Windows Dev Center

WdsTransportClientCloseSession function

Releases the resources associated with a session in the client.

Syntax


DWORD WDSTCIAPI WdsTransportClientCloseSession(
  _In_ HANDLE hSessionKey
);

Parameters

hSessionKey [in]

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

Minimum supported client

Windows Vista with SP1 [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Wdstci.h

Library

Wdstptc.lib

DLL

Wdstptc.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft