PowerIsSettingRangeDefined function
Queries whether the specified power setting represents a range of possible values.
Syntax
BOOLEAN WINAPI PowerIsSettingRangeDefined( _In_opt_ const GUID *SubKeyGuid, _In_opt_ const GUID *SettingGuid );
Parameters
- SubKeyGuid [in, optional]
-
The identifier of the subkey to search.
- SettingGuid [in, optional]
-
The identifier of the power setting to query.
Return value
TRUE if the registry key specified by SubKeyGuid represents a single power setting.
If the registry key specified by SubKeyGuid represents a range, this function returns FALSE.
Requirements
|
Minimum supported client |
Windows 7 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|