Expand Minimize
This topic has not yet been rated - Rate this topic

TLSDisconnectFromServer function

Closes an open handle to a Remote Desktop license server.

Note  This function has no associated header file or import library. To call this function, you must create a user-defined header file and use the LoadLibrary and GetProcAddress functions to dynamically link to Mstlsapi.dll.

Syntax


void WINAPI TLSDisconnectFromServer(
  _In_  TLS_HANDLE hHandle
);

Parameters

hHandle [in]

Handle to a Remote Desktop license server that is opened by a call to the TLSConnectToLsServer function.

Return value

This method does not return a value.

Remarks

Call the TLSDisconnectFromServer function as part of your program's clean-up routine to close all the server handles that are opened by calls to the TLSConnectToLsServer function.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

DLL

Mstlsapi.dll

See also

TLS_HANDLE
TLSConnectToLsServer

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.