POWER_STATE_TYPE enumeration (wdm.h)
The POWER_STATE_TYPE enumeration type indicates that a power state value is a system power state or a device power state.
Syntax
typedef enum _POWER_STATE_TYPE {
SystemPowerState,
DevicePowerState
} POWER_STATE_TYPE, *PPOWER_STATE_TYPE;
Constants
SystemPowerState Indicates a SYSTEM_POWER_STATE value. |
DevicePowerState Indicates a DEVICE_POWER_STATE value. |
Remarks
The POWER_STATE_TYPE enumeration type is used in conjunction with a value of type POWER_STATE to indicate that the power state value is a system power state value or a device power state value. For an example, see PoSetPowerState.
Requirements
Requirement | Value |
---|---|
Header | wdm.h (include Wdm.h, Ntddk.h, Ntifs.h, Ntpoapi.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for