TLSLicenseEnumBegin function
Begins enumeration of licenses that are issued by the Remote Desktop license server based on search criteria.
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 TLSLicenseEnumBegin( _In_ TLS_HANDLE hHandle, _In_ DWORD dwSearchParm, _In_ BOOL bMatchAll, _In_ LSLicense *lpSearchParm, _Out_ PDWORD pdwErrCode );
Parameters
- hHandle [in]
-
Handle to a Remote Desktop license server. Specify a handle that is opened by the TLSConnectToLsServer function.
- dwSearchParm [in]
-
Specifies the search criteria. The parameter can be one or a combination of the values that are described in the following table. The parameter specifies the type of key pack and which key pack to search.
- bMatchAll [in]
-
Specifies whether to match all search values.
- lpSearchParm [in]
-
Pointer to a LSLicense structure that specifies the search parameters to look for.
- pdwErrCode [out]
-
Pointer to a variable that receives one of the following error codes on return.
Return value
This function returns the following possible return values.
| Return code | Description |
|---|---|
|
The call succeeded. Check the value of the pdwErrCode parameter to get the return code for the call. |
|
The argument was not valid. |
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012