TLSConnectToLsServer function
Opens a handle to the specified Remote Desktop license server.
Syntax
TLS_HANDLE WINAPI TLSConnectToLsServer( _In_ LPTSTR pszLsServer );
Parameters
- pszLsServer [in]
-
Pointer to a null-terminated string that specifies the NetBIOS name of the Remote Desktop license server. If the value of this parameter is NULL, the specified server is the local computer.
Return value
If the function succeeds, the return value is a handle to the specified server.
If the function fails, the return value is NULL. To get extended error information, call the GetLastError function.
Remarks
When you have finished using the handle that is returned by the TLSConnectToLsServer function, release it by calling the TLSDisconnectFromServer function.
Requirements
|
Minimum supported client |
Windows Vista |
|---|---|
|
Minimum supported server |
Windows Server 2008 |
|
DLL |
|
See also