IWRdsProtocolSettings::GetSettings method (wtsprotocol.h)
Retrieves the settings for a particular policy.
Syntax
HRESULT GetSettings(
[in] WRDS_SETTING_TYPE WRdsSettingType,
[in] WRDS_SETTING_LEVEL WRdsSettingLevel,
[out] PWRDS_SETTINGS pWRdsSettings
);
Parameters
[in] WRdsSettingType
A value of the WRDS_SETTING_TYPE enumeration that specifies the area in which to retrieve the settings (machine group policy, user group policy, or user security accounts manager).
[in] WRdsSettingLevel
A value of the WRDS_SETTING_LEVEL enumeration that specifies the type of structure contained in the WRdsSetting member of the WRDS_SETTINGS structure.
[out] pWRdsSettings
A pointer to a WRDS_SETTINGS structure that contains the returned 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 |