SystemState::CheckBoolean method
Retrieves whether or not the specified system setting is enabled.
Syntax
virtual HRESULT CheckBoolean(
[in] SystemSetting setting,
[out] BOOL *enabled
) = 0;
Parameters
-
setting [in]
-
The SystemSetting enumerator specifying which system setting to check. The enumerator must have the SystemSettingFlagGetBool bit set in it.
-
enabled [out]
-
True if the specified setting was configured.
Return value
If the function succeeds, it returns S_OK. If it fails, it returns an error value.
Remarks
Managed code uses the SystemState.CheckBoolean method.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|