UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:wtsapi32.WTSQueryListenerConfigW |
WTSQueryListenerConfigW function (wtsapi32.h) |
Retrieves configuration information for a Remote Desktop Services listener. (Unicode) |
|
termserv\wtsquerylistenerconfig.htm |
TermServ |
abdcb98e-c00c-444f-a6f9-ce98161c8b62 |
12/05/2018 |
WTSQueryListenerConfig, WTSQueryListenerConfig function [Remote Desktop Services], WTSQueryListenerConfigA, WTSQueryListenerConfigW, termserv.wtsquerylistenerconfig, wtsapi32/WTSQueryListenerConfig, wtsapi32/WTSQueryListenerConfigA, wtsapi32/WTSQueryListenerConfigW |
wtsapi32.h |
Windows |
Windows 7 |
Windows Server 2008 R2 |
WTSQueryListenerConfigW (Unicode) and WTSQueryListenerConfigA (ANSI) |
Wtsapi32.lib |
Wtsapi32.dll |
Windows |
19H1 |
|
|
|
|
|
|
Retrieves configuration information for a Remote Desktop Services listener.
A handle to an RD Session Host server. Always set this parameter to WTS_CURRENT_SERVER_HANDLE.
This parameter is reserved. Always set this parameter to NULL.
This parameter is reserved. Always set this parameter to zero.
A pointer to a null-terminated string that contains the name of the listener to query.
A pointer to a WTSLISTENERCONFIG structure that receives the retrieved listener configuration information.
If the function succeeds, the return value is a nonzero value.
If the function fails, the return value is zero. To get extended error information, call the GetLastError function.
This function does not retrieve the security descriptor for the listener. To retrieve the security descriptor, call the WTSGetListenerSecurity function.
Note
The wtsapi32.h header defines WTSQueryListenerConfig as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.