UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:powrprof.PowerWritePossibleValue |
PowerWritePossibleValue function (powrprof.h) |
Sets the value for a possible value of a power setting. |
|
base\powerwritepossiblevalue.htm |
base |
1c1e2707-fe5e-4199-85c9-c30deca917c5 |
12/05/2018 |
GUID_BATTERY_SUBGROUP, GUID_DISK_SUBGROUP, GUID_PCIEXPRESS_SETTINGS_SUBGROUP, GUID_PROCESSOR_SETTINGS_SUBGROUP, GUID_SLEEP_SUBGROUP, GUID_SYSTEM_BUTTON_SUBGROUP, GUID_VIDEO_SUBGROUP, NO_SUBGROUP_GUID, PowerWritePossibleValue, PowerWritePossibleValue function, base.powerwritepossiblevalue, powrprof/PowerWritePossibleValue |
powrprof.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
PowrProf.lib |
PowrProf.dll |
Windows |
19H1 |
|
|
|
|
|
|
Sets the value for a possible value of a power setting.
This parameter is reserved for future use and must be set to NULL.
The subgroup of power settings. This parameter can be one of the following values defined in WinNT.h. Use NO_SUBGROUP_GUID to refer to the default power scheme.
The identifier of the power setting.
The type of data for the value. The possible values are listed in Registry Value Types.
The zero-based index for the possible setting.
The value for the possible setting.
The size of the buffer pointed to by the Buffer parameter.
Returns ERROR_SUCCESS (zero) if the call was successful, and a nonzero value if the call failed.
Changes to the settings for the active power scheme do not take effect until you call the PowerSetActiveScheme function.