IWRdsProtocolListener::GetSettings method (wtsprotocol.h)

Gets the listener setting information for client connection requests.

Syntax

HRESULT GetSettings(
  [in]  WRDS_LISTENER_SETTING_LEVEL WRdsListenerSettingLevel,
  [out] PWRDS_LISTENER_SETTINGS     pWRdsListenerSettings
);

Parameters

[in] WRdsListenerSettingLevel

The listener setting level to use.

[out] pWRdsListenerSettings

A pointer to a WRDS_LISTENER_SETTINGS structure that contains the returned listener settings.

Return value

When you are implementing this method, return S_OK if the function succeeds. If it fails, return an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2012
Target Platform Windows
Header wtsprotocol.h

See also

IWRdsProtocolListener