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

TLSKeyPackEnumEnd function

Continues from a previous call to the TLSKeyPackEnumBegin function and terminates the enumeration.

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


DWORD WINAPI TLSKeyPackEnumEnd(
  _In_   TLS_HANDLE hHandle,
  _Out_  PDWORD pdwErrCode
);

Parameters

hHandle [in]

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

pdwErrCode [out]

Pointer to a variable that receives one of the following error codes on return.

ValueMeaning
LSERVER_S_SUCCESS
0

Call is successful.

LSERVER_E_INVALID_HANDLE
5005

The handle is not valid.

 

Return value

This function returns the following possible return values.

Return codeDescription
RPC_S_OK

The call succeeded. Check the value of the pdwErrCode parameter to get the return code for the call.

RPC_S_INVALID_ARG

The argument was not valid.

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

DLL

Mstlsapi.dll

See also

LSKeyPack
TLSConnectToLsServer
TLSKeyPackEnumBegin
TLSKeyPackEnumNext

 

 

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.