Skip to content

Latest commit

 

History

History
130 lines (76 loc) · 2.9 KB

tlskeypackenumend.md

File metadata and controls

130 lines (76 loc) · 2.9 KB
title description ms.assetid ms.tgt_platform keywords topic_type api_name api_location api_type ms.topic ms.date
TLSKeyPackEnumEnd function
Continues from a previous call to the TLSKeyPackEnumBegin function and terminates the enumeration.
3434e18d-54c9-46ed-b6a5-bc174b63a152
multiple
TLSKeyPackEnumEnd function Remote Desktop Services
apiref
TLSKeyPackEnumEnd
Mstlsapi.dll
DllExport
reference
05/31/2018

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.

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.

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

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
DLL
Mstlsapi.dll

See also

LSKeyPack

TLSConnectToLsServer

TLSKeyPackEnumBegin

TLSKeyPackEnumNext