Partager via


Support::SystemSettingCheckBoolean method

Retrieves the current setting of a specific system configuration item.

Syntax

virtual HRESULT SystemSettingCheckBoolean(
  [in]  SystemSetting setting,
  [out] BOOL          *enabled
) const = 0;

Parameters

setting [in]

A single value of a SystemSetting enumeration specifying which system setting to retrieve.

enabled [out]

A Boolean that indicates whether the specified setting is enabled.

Return value

If the function succeeds, it returns S_OK. If it fails, it returns an error value.

Remarks

This method allows an assessment to determine the current state of a system setting.

Managed code uses the Support.SystemSettingCheckBoolean method.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeRuntime.h
DLL
AxeCore.dll

See also

Support