WDF_DEVICE_POWER_POLICY_STATE enumeration
[Applies to KMDF only]
The WDF_DEVICE_POWER_POLICY_STATE enumeration identifies all of the states that the framework's power policy state machine can enter.
Syntax
typedef enum _WDF_DEVICE_POWER_POLICY_STATE { WdfDevStatePwrPolInvalid = 0x00, WdfDevStatePwrPolObjectCreated = 0x500, WdfDevStatePwrPolStarting = 0x501, WdfDevStatePwrPolStartingSucceeded = 0x502, WdfDevStatePwrPolStartingFailed = 0x503, WdfDevStatePwrPolStartingDecideS0Wake = 0x504, WdfDevStatePwrPolStartedIdleCapable = 0x505, WdfDevStatePwrPolTimerExpiredNoWake = 0x506, WdfDevStatePwrPolTimerExpiredNoWakeCompletePowerDown = 0x507, WdfDevStatePwrPolWaitingUnarmed = 0x508, WdfDevStatePwrPolWaitingUnarmedQueryIdle = 0x509, WdfDevStatePwrPolS0NoWakePowerUp = 0x50A, WdfDevStatePwrPolS0NoWakeCompletePowerUp = 0x50B, WdfDevStatePwrPolSystemSleepFromDeviceWaitingUnarmed = 0x50C, WdfDevStatePwrPolSystemSleepNeedWake = 0x50D, WdfDevStatePwrPolSystemSleepNeedWakeCompletePowerUp = 0x50E, WdfDevStatePwrPolSystemSleepPowerRequestFailed = 0x50F, WdfDevStatePwrPolCheckPowerPageable = 0x510, WdfDevStatePwrPolSleepingWakeWakeArrived = 0x511, WdfDevStatePwrPolSleepingWakeRevertArmWake = 0x512, WdfDevStatePwrPolSystemAsleepWakeArmed = 0x513, WdfDevStatePwrPolSystemWakeDeviceWakeEnabled = 0x514, WdfDevStatePwrPolSystemWakeDeviceWakeEnabledWakeCanceled = 0x515, WdfDevStatePwrPolSystemWakeDeviceWakeDisarm = 0x516, WdfDevStatePwrPolSystemWakeDeviceWakeTriggered = 0x517, WdfDevStatePwrPolSystemWakeDeviceWakeTriggeredS0 = 0x518, WdfDevStatePwrPolSystemWakeDeviceWokeDisarm = 0x519, WdfDevStatePwrPolSleepingWakeWakeArrivedNP = 0x51A | WdfDevStateNP, WdfDevStatePwrPolSleepingWakeRevertArmWakeNP = 0x51B | WdfDevStateNP, WdfDevStatePwrPolSleepingWakePowerDownFailed = 0x51C, WdfDevStatePwrPolSleepingWakePowerDownFailedWakeCanceled = 0x51D, WdfDevStatePwrPolSystemAsleepWakeArmedNP = 0x51E | WdfDevStateNP, WdfDevStatePwrPolSystemWakeDeviceWakeEnabledNP = 0x51F | WdfDevStateNP, WdfDevStatePwrPolSystemWakeDeviceWakeEnabledWakeCanceledNP = 0x520 | WdfDevStateNP, WdfDevStatePwrPolSystemWakeDeviceWakeDisarmNP = 0x521 | WdfDevStateNP, WdfDevStatePwrPolSystemWakeDeviceWakeTriggeredNP = 0x522 | WdfDevStateNP, WdfDevStatePwrPolSystemWakeDeviceWakeTriggeredS0NP = 0x523 | WdfDevStateNP, WdfDevStatePwrPolSystemWakeDeviceWokeDisarmNP = 0x524 | WdfDevStateNP, WdfDevStatePwrPolSystemWakeDeviceWakeCompletePowerUp = 0x525, WdfDevStatePwrPolSleeping = 0x526, WdfDevStatePwrPolSleepingNoWakePowerDown = 0x527, WdfDevStatePwrPolSleepingNoWakeCompletePowerDown = 0x528, WdfDevStatePwrPolSleepingNoWakeDxRequestFailed = 0x529, WdfDevStatePwrPolSleepingWakePowerDown = 0x52A, WdfDevStatePwrPolSleepingSendWake = 0x52B, WdfDevStatePwrPolSystemAsleepNoWake = 0x52C, WdfDevStatePwrPolSystemWakeDeviceWakeDisabled = 0x52D, WdfDevStatePwrPolSystemWakeDeviceToD0 = 0x52E, WdfDevStatePwrPolSystemWakeDeviceToD0CompletePowerUp = 0x52F, WdfDevStatePwrPolSystemWakeQueryIdle = 0x530, WdfDevStatePwrPolStartedWakeCapable = 0x531, WdfDevStatePwrPolTimerExpiredDecideUsbSS = 0x532, WdfDevStatePwrPolTimerExpiredWakeCapablePowerDown = 0x533, WdfDevStatePwrPolTimerExpiredWakeCapableSendWake = 0x534, WdfDevStatePwrPolTimerExpiredWakeCapableUsbSS = 0x535, WdfDevStatePwrPolTimerExpiredWakeCapableWakeArrived = 0x536, WdfDevStatePwrPolTimerExpiredWakeCapableCancelWake = 0x537, WdfDevStatePwrPolTimerExpiredWakeCapableWakeCanceled = 0x538, WdfDevStatePwrPolTimerExpiredWakeCapableCleanup = 0x539, WdfDevStatePwrPolTimerExpiredWakeCapableDxAllocFailed = 0x53A, WdfDevStatePwrPolTimerExpiredWakeCompletedPowerDown = 0x53B, WdfDevStatePwrPolTimerExpiredWakeCompletedPowerUp = 0x53C, WdfDevStatePwrPolWaitingArmedUsbSS = 0x53D, WdfDevStatePwrPolWaitingArmed = 0x53E, WdfDevStatePwrPolWaitingArmedQueryIdle = 0x53F, WdfDevStatePwrPolIoPresentArmed = 0x540, WdfDevStatePwrPolIoPresentArmedWakeCanceled = 0x541, WdfDevStatePwrPolS0WakeDisarm = 0x542, WdfDevStatePwrPolS0WakeCompletePowerUp = 0x543, WdfDevStatePwrPolTimerExpiredWakeSucceeded = 0x544, WdfDevStatePwrPolTimerExpiredWakeCompletedDisarm = 0x545, WdfDevStatePwrPolTimerExpiredWakeCapableWakeSucceeded = 0x546, WdfDevStatePwrPolTimerExpiredWakeCapableWakeFailed = 0x547, WdfDevStatePwrPolWakeFailedUsbSS = 0x548, WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownFailedCancelWake = 0x549, WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownFailedWakeCanceled = 0x54A, WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownFailedUsbSS = 0x54B, WdfDevStatePwrPolCancelingWakeForSystemSleep = 0x54C, WdfDevStatePwrPolCancelingWakeForSystemSleepWakeCanceled = 0x54D, WdfDevStatePwrPolDisarmingWakeForSystemSleepCompletePowerUp = 0x54E, WdfDevStatePwrPolPowerUpForSystemSleepFailed = 0x54F, WdfDevStatePwrPolWokeFromS0UsbSS = 0x550, WdfDevStatePwrPolWokeFromS0 = 0x551, WdfDevStatePwrPolWokeFromS0NotifyDriver = 0x552, WdfDevStatePwrPolStoppingResetDevice = 0x553, WdfDevStatePwrPolStoppingResetDeviceCompletePowerUp = 0x554, WdfDevStatePwrPolStoppingResetDeviceFailed = 0x555, WdfDevStatePwrPolStoppingD0 = 0x556, WdfDevStatePwrPolStoppingD0Failed = 0x557, WdfDevStatePwrPolStoppingDisarmWake = 0x558, WdfDevStatePwrPolStoppingDisarmWakeCancelWake = 0x559, WdfDevStatePwrPolStoppingDisarmWakeWakeCanceled = 0x55A, WdfDevStatePwrPolStopping = 0x55B, WdfDevStatePwrPolStoppingFailed = 0x55C, WdfDevStatePwrPolStoppingSendStatus = 0x55D, WdfDevStatePwrPolStoppingCancelTimer = 0x55E, WdfDevStatePwrPolStoppingWaitForIdleTimeout = 0x55F, WdfDevStatePwrPolStoppingCancelUsbSS = 0x560, WdfDevStatePwrPolStoppingWaitForUsbSSCompletion = 0x561, WdfDevStatePwrPolStoppingCancelWake = 0x562, WdfDevStatePwrPolStopped = 0x563, WdfDevStatePwrPolCancelUsbSS = 0x564, WdfDevStatePwrPolStarted = 0x565, WdfDevStatePwrPolStartedCancelTimer = 0x566, WdfDevStatePwrPolStartedWaitForIdleTimeout = 0x567, WdfDevStatePwrPolStartedWakeCapableCancelTimerForSleep = 0x568, WdfDevStatePwrPolStartedWakeCapableWaitForIdleTimeout = 0x569, WdfDevStatePwrPolStartedWakeCapableSleepingUsbSS = 0x56A, WdfDevStatePwrPolStartedIdleCapableCancelTimerForSleep = 0x56B, WdfDevStatePwrPolStartedIdleCapableWaitForIdleTimeout = 0x56C, WdfDevStatePwrPolDeviceD0PowerRequestFailed = 0x56D, WdfDevStatePwrPolDevicePowerRequestFailed = 0x56E, WdfDevStatePwrPolGotoDx = 0x56F, WdfDevStatePwrPolGotoDxInDx = 0x570, WdfDevStatePwrPolDx = 0x571, WdfDevStatePwrPolGotoD0 = 0x572, WdfDevStatePwrPolGotoD0InD0 = 0x573, WdfDevStatePwrPolFinal = 0x574, WdfDevStatePwrPolSleepingPowerDownNotProcessed = 0x575, WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownNotProcessed = 0x576, WdfDevStatePwrPolTimerExpiredNoWakePowerDownNotProcessed = 0x577, WdfDevStatePwrPolTimerExpiredNoWakePoweredDownDisableIdleTimer = 0x578, WdfDevStatePwrPolStoppingWaitingForImplicitPowerDown = 0x579, WdfDevStatePwrPolStoppingPoweringUp = 0x57A, WdfDevStatePwrPolStoppingPoweringDown = 0x57B, WdfDevStatePwrPolPowerUpForSystemSleepNotSeen = 0x57C, WdfDevStatePwrPolWaitingArmedStoppingCancelUsbSS = 0x57D, WdfDevStatePwrPolWaitingArmedWakeFailedCancelUsbSS = 0x57E, WdfDevStatePwrPolWaitingArmedIoPresentCancelUsbSS = 0x57F, WdfDevStatePwrPolWaitingArmedWakeSucceededCancelUsbSS = 0x580, WdfDevStatePwrPolCancelingUsbSSForSystemSleep = 0x581, WdfDevStatePwrPolStoppingD0CancelUsbSS = 0x582, WdfDevStatePwrPolStartingPoweredUp = 0x583, WdfDevStatePwrPolIdleCapableDeviceIdle = 0x584, WdfDevStatePwrPolDeviceIdleReturnToActive = 0x585, WdfDevStatePwrPolDeviceIdleSleeping = 0x586, WdfDevStatePwrPolDeviceIdleStopping = 0x587, WdfDevStatePwrPolTimerExpiredNoWakeUndoPowerDown = 0x588, WdfDevStatePwrPolWakeCapableDeviceIdle = 0x589, WdfDevStatePwrPolWakeCapableUsbSSCompleted = 0x58A, WdfDevStatePwrPolTimerExpiredWakeCapableUndoPowerDown = 0x58B, WdfDevStatePwrPolTimerExpiredWakeCompletedHardwareStarted = 0x58C, WdfDevStatePwrPolStoppedRemoving = 0x58D, WdfDevStatePwrPolRemoved = 0x58E, WdfDevStatePwrPolRestarting = 0x58F, WdfDevStatePwrPolRestartingFailed = 0x590, WdfDevStatePwrPolStartingPoweredUpFailed = 0x591, WdfDevStatePwrPolTimerExpiredNoWakeReturnToActive = 0x592, WdfDevStatePwrPolWaitingArmedWakeInterruptFired = 0x593, WdfDevStatePwrPolSystemWakeDeviceWakeInterruptFired = 0x594, WdfDevStatePwrPolSystemWakeDeviceWakeInterruptFiredNP = 0x595 | WdfDevStateNP, WdfDevStatePwrPolTimerExpiredWakeCapableWakeInterruptArrived = 0x596, WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownFailedWakeInterruptArrived = 0x597, WdfDevStatePwrPolWaitingArmedWakeInterruptFiredDuringPowerDown = 0x598, WdfDevStatePwrPolNull = 0x599 } WDF_DEVICE_POWER_POLICY_STATE, *PWDF_DEVICE_POWER_POLICY_STATE;
Constants
- WdfDevStatePwrPolInvalid
- WdfDevStatePwrPolObjectCreated
- WdfDevStatePwrPolStarting
- WdfDevStatePwrPolStartingSucceeded
- WdfDevStatePwrPolStartingFailed
- WdfDevStatePwrPolStartingDecideS0Wake
- WdfDevStatePwrPolStartedIdleCapable
- WdfDevStatePwrPolTimerExpiredNoWake
- WdfDevStatePwrPolTimerExpiredNoWakeCompletePowerDown
- WdfDevStatePwrPolWaitingUnarmed
- WdfDevStatePwrPolWaitingUnarmedQueryIdle
- WdfDevStatePwrPolS0NoWakePowerUp
- WdfDevStatePwrPolS0NoWakeCompletePowerUp
- WdfDevStatePwrPolSystemSleepFromDeviceWaitingUnarmed
- WdfDevStatePwrPolSystemSleepNeedWake
- WdfDevStatePwrPolSystemSleepNeedWakeCompletePowerUp
- WdfDevStatePwrPolSystemSleepPowerRequestFailed
- WdfDevStatePwrPolCheckPowerPageable
- WdfDevStatePwrPolSleepingWakeWakeArrived
- WdfDevStatePwrPolSleepingWakeRevertArmWake
- WdfDevStatePwrPolSystemAsleepWakeArmed
- WdfDevStatePwrPolSystemWakeDeviceWakeEnabled
- WdfDevStatePwrPolSystemWakeDeviceWakeEnabledWakeCanceled
- WdfDevStatePwrPolSystemWakeDeviceWakeDisarm
- WdfDevStatePwrPolSystemWakeDeviceWakeTriggered
- WdfDevStatePwrPolSystemWakeDeviceWakeTriggeredS0
- WdfDevStatePwrPolSystemWakeDeviceWokeDisarm
- WdfDevStatePwrPolSleepingWakeWakeArrivedNP
- WdfDevStatePwrPolSleepingWakeRevertArmWakeNP
- WdfDevStatePwrPolSleepingWakePowerDownFailed
- WdfDevStatePwrPolSleepingWakePowerDownFailedWakeCanceled
- WdfDevStatePwrPolSystemAsleepWakeArmedNP
- WdfDevStatePwrPolSystemWakeDeviceWakeEnabledNP
- WdfDevStatePwrPolSystemWakeDeviceWakeEnabledWakeCanceledNP
- WdfDevStatePwrPolSystemWakeDeviceWakeDisarmNP
- WdfDevStatePwrPolSystemWakeDeviceWakeTriggeredNP
- WdfDevStatePwrPolSystemWakeDeviceWakeTriggeredS0NP
- WdfDevStatePwrPolSystemWakeDeviceWokeDisarmNP
- WdfDevStatePwrPolSystemWakeDeviceWakeCompletePowerUp
- WdfDevStatePwrPolSleeping
- WdfDevStatePwrPolSleepingNoWakePowerDown
- WdfDevStatePwrPolSleepingNoWakeCompletePowerDown
- WdfDevStatePwrPolSleepingNoWakeDxRequestFailed
- WdfDevStatePwrPolSleepingWakePowerDown
- WdfDevStatePwrPolSleepingSendWake
- WdfDevStatePwrPolSystemAsleepNoWake
- WdfDevStatePwrPolSystemWakeDeviceWakeDisabled
- WdfDevStatePwrPolSystemWakeDeviceToD0
- WdfDevStatePwrPolSystemWakeDeviceToD0CompletePowerUp
- WdfDevStatePwrPolSystemWakeQueryIdle
- WdfDevStatePwrPolStartedWakeCapable
- WdfDevStatePwrPolTimerExpiredDecideUsbSS
- WdfDevStatePwrPolTimerExpiredWakeCapablePowerDown
- WdfDevStatePwrPolTimerExpiredWakeCapableSendWake
- WdfDevStatePwrPolTimerExpiredWakeCapableUsbSS
- WdfDevStatePwrPolTimerExpiredWakeCapableWakeArrived
- WdfDevStatePwrPolTimerExpiredWakeCapableCancelWake
- WdfDevStatePwrPolTimerExpiredWakeCapableWakeCanceled
- WdfDevStatePwrPolTimerExpiredWakeCapableCleanup
- WdfDevStatePwrPolTimerExpiredWakeCapableDxAllocFailed
- WdfDevStatePwrPolTimerExpiredWakeCompletedPowerDown
- WdfDevStatePwrPolTimerExpiredWakeCompletedPowerUp
- WdfDevStatePwrPolWaitingArmedUsbSS
- WdfDevStatePwrPolWaitingArmed
- WdfDevStatePwrPolWaitingArmedQueryIdle
- WdfDevStatePwrPolIoPresentArmed
- WdfDevStatePwrPolIoPresentArmedWakeCanceled
- WdfDevStatePwrPolS0WakeDisarm
- WdfDevStatePwrPolS0WakeCompletePowerUp
- WdfDevStatePwrPolTimerExpiredWakeSucceeded
- WdfDevStatePwrPolTimerExpiredWakeCompletedDisarm
- WdfDevStatePwrPolTimerExpiredWakeCapableWakeSucceeded
- WdfDevStatePwrPolTimerExpiredWakeCapableWakeFailed
- WdfDevStatePwrPolWakeFailedUsbSS
- WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownFailedCancelWake
- WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownFailedWakeCanceled
- WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownFailedUsbSS
- WdfDevStatePwrPolCancelingWakeForSystemSleep
- WdfDevStatePwrPolCancelingWakeForSystemSleepWakeCanceled
- WdfDevStatePwrPolDisarmingWakeForSystemSleepCompletePowerUp
- WdfDevStatePwrPolPowerUpForSystemSleepFailed
- WdfDevStatePwrPolWokeFromS0UsbSS
- WdfDevStatePwrPolWokeFromS0
- WdfDevStatePwrPolWokeFromS0NotifyDriver
- WdfDevStatePwrPolStoppingResetDevice
- WdfDevStatePwrPolStoppingResetDeviceCompletePowerUp
- WdfDevStatePwrPolStoppingResetDeviceFailed
- WdfDevStatePwrPolStoppingD0
- WdfDevStatePwrPolStoppingD0Failed
- WdfDevStatePwrPolStoppingDisarmWake
- WdfDevStatePwrPolStoppingDisarmWakeCancelWake
- WdfDevStatePwrPolStoppingDisarmWakeWakeCanceled
- WdfDevStatePwrPolStopping
- WdfDevStatePwrPolStoppingFailed
- WdfDevStatePwrPolStoppingSendStatus
- WdfDevStatePwrPolStoppingCancelTimer
- WdfDevStatePwrPolStoppingWaitForIdleTimeout
- WdfDevStatePwrPolStoppingCancelUsbSS
- WdfDevStatePwrPolStoppingWaitForUsbSSCompletion
- WdfDevStatePwrPolStoppingCancelWake
- WdfDevStatePwrPolStopped
- WdfDevStatePwrPolCancelUsbSS
- WdfDevStatePwrPolStarted
- WdfDevStatePwrPolStartedCancelTimer
- WdfDevStatePwrPolStartedWaitForIdleTimeout
- WdfDevStatePwrPolStartedWakeCapableCancelTimerForSleep
- WdfDevStatePwrPolStartedWakeCapableWaitForIdleTimeout
- WdfDevStatePwrPolStartedWakeCapableSleepingUsbSS
- WdfDevStatePwrPolStartedIdleCapableCancelTimerForSleep
- WdfDevStatePwrPolStartedIdleCapableWaitForIdleTimeout
- WdfDevStatePwrPolDeviceD0PowerRequestFailed
- WdfDevStatePwrPolDevicePowerRequestFailed
- WdfDevStatePwrPolGotoDx
- WdfDevStatePwrPolGotoDxInDx
- WdfDevStatePwrPolDx
- WdfDevStatePwrPolGotoD0
- WdfDevStatePwrPolGotoD0InD0
- WdfDevStatePwrPolFinal
- WdfDevStatePwrPolSleepingPowerDownNotProcessed
- WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownNotProcessed
- WdfDevStatePwrPolTimerExpiredNoWakePowerDownNotProcessed
- WdfDevStatePwrPolTimerExpiredNoWakePoweredDownDisableIdleTimer
- WdfDevStatePwrPolStoppingWaitingForImplicitPowerDown
- WdfDevStatePwrPolStoppingPoweringUp
- WdfDevStatePwrPolStoppingPoweringDown
- WdfDevStatePwrPolPowerUpForSystemSleepNotSeen
- WdfDevStatePwrPolWaitingArmedStoppingCancelUsbSS
- WdfDevStatePwrPolWaitingArmedWakeFailedCancelUsbSS
- WdfDevStatePwrPolWaitingArmedIoPresentCancelUsbSS
- WdfDevStatePwrPolWaitingArmedWakeSucceededCancelUsbSS
- WdfDevStatePwrPolCancelingUsbSSForSystemSleep
- WdfDevStatePwrPolStoppingD0CancelUsbSS
- WdfDevStatePwrPolStartingPoweredUp
- WdfDevStatePwrPolIdleCapableDeviceIdle
- WdfDevStatePwrPolDeviceIdleReturnToActive
- WdfDevStatePwrPolDeviceIdleSleeping
- WdfDevStatePwrPolDeviceIdleStopping
- WdfDevStatePwrPolTimerExpiredNoWakeUndoPowerDown
- WdfDevStatePwrPolWakeCapableDeviceIdle
- WdfDevStatePwrPolWakeCapableUsbSSCompleted
- WdfDevStatePwrPolTimerExpiredWakeCapableUndoPowerDown
- WdfDevStatePwrPolTimerExpiredWakeCompletedHardwareStarted
- WdfDevStatePwrPolStoppedRemoving
- WdfDevStatePwrPolRemoved
- WdfDevStatePwrPolRestarting
- WdfDevStatePwrPolRestartingFailed
- WdfDevStatePwrPolStartingPoweredUpFailed
- WdfDevStatePwrPolTimerExpiredNoWakeReturnToActive
- WdfDevStatePwrPolWaitingArmedWakeInterruptFired
- WdfDevStatePwrPolSystemWakeDeviceWakeInterruptFired
- WdfDevStatePwrPolSystemWakeDeviceWakeInterruptFiredNP
- WdfDevStatePwrPolTimerExpiredWakeCapableWakeInterruptArrived
- WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownFailedWakeInterruptArrived
- WdfDevStatePwrPolWaitingArmedWakeInterruptFiredDuringPowerDown
- WdfDevStatePwrPolNull
Remarks
The WDF_DEVICE_POWER_POLICY_STATE enumeration is used as a member type in the WDF_DEVICE_POWER_POLICY_NOTIFICATION_DATA structure and as the return type for the WdfDeviceGetDevicePowerPolicyState method.
Requirements
Minimum KMDF version | 1.0 |
---|---|
Header |
|
Show: