WDF_DEVICE_POWER_POLICY_STATE enumeration (wdfdevice.h)

[Applies to KMDF only]

Note

This enumeration is for Microsoft internal use 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,
  WdfDevStatePwrPolStartedNotIdleCapableDirectedDown = 0x599,
  WdfDevStatePwrPolStartedIdleCapableTimerCanceledForSleep = 0x59A,
  WdfDevStatePwrPolTimerExpiredNoWakeUndoPowerDownWaitForDirectedUp = 0x59B,
  WdfDevStatePwrPolIdleCapableTimerNotExpiredDirectedDown = 0x59C,
  WdfDevStatePwrPolIdleCapableDirectedDownTriggerDPNR = 0x59D,
  WdfDevStatePwrPolWaitingUnarmedDirectedDown = 0x59E,
  WdfDevStatePwrPolIdleCapableDirectedDownTriggerDPR = 0x59F,
  WdfDevStatePwrPolStartedWakeCapableTimerCanceledForSleep = 0x5A0,
  WdfDevStatePwrPolWakeCapableTimerNotExpiredDirectedDown = 0x5A1,
  WdfDevStatePwrPolWakeCapableDirectedDownTriggerDPNR = 0x5A2,
  WdfDevStatePwrPolTimerExpiredWakeCompletedPowerDownWaitForDirectedUp = 0x5A3,
  WdfDevStatePwrPolTimerExpiredWakeCompletedPowerDownDirectedTriggerDPR = 0x5A4,
  WdfDevStatePwrPolTimerExpiredWakeCapableUndoPowerDownWaitForDirectedUp = 0x5A5,
  WdfDevStatePwrPolWakeCapableUsbSSCompletedUndoWaitForDirectedUp = 0x5A6,
  WdfDevStatePwrPolTimerExpiredWakeCapableUsbSSDirectedDown = 0x5A7,
  WdfDevStatePwrPolWaitingArmedWakeInterruptFiredDuringPowerDownCheckDirected = 0x5A8,
  WdfDevStatePwrPolTimerExpiredWakeCompletedPowerDownCheckDirected = 0x5A9,
  WdfDevStatePwrPolTimerExpiredWakeCapableWakeSucceededCheckDirected = 0x5AA,
  WdfDevStatePwrPolTimerExpiredWakeCapableWakeSucceededWaitForDirectedUp = 0x5AB,
  WdfDevStatePwrPolTimerExpiredWakeCapableWakeSucceededTriggerDPR = 0x5AC,
  WdfDevStatePwrPolTimerExpiredWakeCapableWakeFailedCheckDirected = 0x5AD,
  WdfDevStatePwrPolTimerExpiredWakeCapableWakeFailedWaitForDirectedUp = 0x5AE,
  WdfDevStatePwrPolTimerExpiredWakeCapableWakeFailedTriggerDPR = 0x5AF,
  WdfDevStatePwrPolWaitingArmedDirectedDownWakeInterruptFiredTriggerDPR = 0x5B0,
  WdfDevStatePwrPolWaitingArmedDirectedDownWakeInterruptFired = 0x5B1,
  WdfDevStatePwrPolWaitingArmedDirectedDown = 0x5B2,
  WdfDevStatePwrPolWaitingArmedDirectedDownWakeSucceededCancelUsbSS = 0x5B3,
  WdfDevStatePwrPolWaitingArmedDirectedDownWakeFailedCancelUsbSS = 0x5B4,
  WdfDevStatePwrPolWaitingArmedDirectedDownTriggerDPR = 0x5B5,
  WdfDevStatePwrPolWaitingArmedDirectedDownWakeSucceededTriggerDPR = 0x5B6,
  WdfDevStatePwrPolWaitingArmedDirectedDownUsbSSCompleted = 0x5B7,
  WdfDevStatePwrPolWaitingArmedDirectedDownUsbSSCompletedTriggerDPR = 0x5B8,
  WdfDevStatePwrPolWaitingArmedDirectedDownWakeFailedCancelUsbSSTriggerDPR = 0x5B9,
  WdfDevStatePwrPolUsbSSCancelled = 0x5BA,
  WdfDevStatePwrPolTimerExpiredWakeCapableRevertArmWake = 0x5BB,
  WdfDevStatePwrPolSleepingWakeCancelWake = 0x5BC,
  WdfDevStatePwrPolSleepingWakeCancelWakeNP = 0x5BD | WdfDevStateNP,
  WdfDevStatePwrPolSystemWakeDeviceD0PowerRequestFailed = 0x5BE,
  WdfDevStatePwrPolSystemWakeDevicePowerRequestFailed = 0x5BF,
  WdfDevStatePwrPolNull = 0x5C0
} WDF_DEVICE_POWER_POLICY_STATE, *PWDF_DEVICE_POWER_POLICY_STATE;

Constants

 
WdfDevStatePwrPolInvalid
Value: 0x00
WdfDevStatePwrPolObjectCreated
Value: 0x500
WdfDevStatePwrPolStarting
Value: 0x501
WdfDevStatePwrPolStartingSucceeded
Value: 0x502
WdfDevStatePwrPolStartingFailed
Value: 0x503
WdfDevStatePwrPolStartingDecideS0Wake
Value: 0x504
WdfDevStatePwrPolStartedIdleCapable
Value: 0x505
WdfDevStatePwrPolTimerExpiredNoWake
Value: 0x506
WdfDevStatePwrPolTimerExpiredNoWakeCompletePowerDown
Value: 0x507
WdfDevStatePwrPolWaitingUnarmed
Value: 0x508
WdfDevStatePwrPolWaitingUnarmedQueryIdle
Value: 0x509
WdfDevStatePwrPolS0NoWakePowerUp
Value: 0x50A
WdfDevStatePwrPolS0NoWakeCompletePowerUp
Value: 0x50B
WdfDevStatePwrPolSystemSleepFromDeviceWaitingUnarmed
Value: 0x50C
WdfDevStatePwrPolSystemSleepNeedWake
Value: 0x50D
WdfDevStatePwrPolSystemSleepNeedWakeCompletePowerUp
Value: 0x50E
WdfDevStatePwrPolSystemSleepPowerRequestFailed
Value: 0x50F
WdfDevStatePwrPolCheckPowerPageable
Value: 0x510
WdfDevStatePwrPolSleepingWakeWakeArrived
Value: 0x511
WdfDevStatePwrPolSleepingWakeRevertArmWake
Value: 0x512
WdfDevStatePwrPolSystemAsleepWakeArmed
Value: 0x513
WdfDevStatePwrPolSystemWakeDeviceWakeEnabled
Value: 0x514
WdfDevStatePwrPolSystemWakeDeviceWakeEnabledWakeCanceled
Value: 0x515
WdfDevStatePwrPolSystemWakeDeviceWakeDisarm
Value: 0x516
WdfDevStatePwrPolSystemWakeDeviceWakeTriggered
Value: 0x517
WdfDevStatePwrPolSystemWakeDeviceWakeTriggeredS0
Value: 0x518
WdfDevStatePwrPolSystemWakeDeviceWokeDisarm
Value: 0x519
WdfDevStatePwrPolSleepingWakeWakeArrivedNP
WdfDevStatePwrPolSleepingWakeRevertArmWakeNP
WdfDevStatePwrPolSleepingWakePowerDownFailed
Value: 0x51C
WdfDevStatePwrPolSleepingWakePowerDownFailedWakeCanceled
Value: 0x51D
WdfDevStatePwrPolSystemAsleepWakeArmedNP
WdfDevStatePwrPolSystemWakeDeviceWakeEnabledNP
WdfDevStatePwrPolSystemWakeDeviceWakeEnabledWakeCanceledNP
WdfDevStatePwrPolSystemWakeDeviceWakeDisarmNP
WdfDevStatePwrPolSystemWakeDeviceWakeTriggeredNP
WdfDevStatePwrPolSystemWakeDeviceWakeTriggeredS0NP
WdfDevStatePwrPolSystemWakeDeviceWokeDisarmNP
WdfDevStatePwrPolSystemWakeDeviceWakeCompletePowerUp
Value: 0x525
WdfDevStatePwrPolSleeping
Value: 0x526
WdfDevStatePwrPolSleepingNoWakePowerDown
Value: 0x527
WdfDevStatePwrPolSleepingNoWakeCompletePowerDown
Value: 0x528
WdfDevStatePwrPolSleepingNoWakeDxRequestFailed
Value: 0x529
WdfDevStatePwrPolSleepingWakePowerDown
Value: 0x52A
WdfDevStatePwrPolSleepingSendWake
Value: 0x52B
WdfDevStatePwrPolSystemAsleepNoWake
Value: 0x52C
WdfDevStatePwrPolSystemWakeDeviceWakeDisabled
Value: 0x52D
WdfDevStatePwrPolSystemWakeDeviceToD0
Value: 0x52E
WdfDevStatePwrPolSystemWakeDeviceToD0CompletePowerUp
Value: 0x52F
WdfDevStatePwrPolSystemWakeQueryIdle
Value: 0x530
WdfDevStatePwrPolStartedWakeCapable
Value: 0x531
WdfDevStatePwrPolTimerExpiredDecideUsbSS
Value: 0x532
WdfDevStatePwrPolTimerExpiredWakeCapablePowerDown
Value: 0x533
WdfDevStatePwrPolTimerExpiredWakeCapableSendWake
Value: 0x534
WdfDevStatePwrPolTimerExpiredWakeCapableUsbSS
Value: 0x535
WdfDevStatePwrPolTimerExpiredWakeCapableWakeArrived
Value: 0x536
WdfDevStatePwrPolTimerExpiredWakeCapableCancelWake
Value: 0x537
WdfDevStatePwrPolTimerExpiredWakeCapableWakeCanceled
Value: 0x538
WdfDevStatePwrPolTimerExpiredWakeCapableCleanup
Value: 0x539
WdfDevStatePwrPolTimerExpiredWakeCapableDxAllocFailed
Value: 0x53A
WdfDevStatePwrPolTimerExpiredWakeCompletedPowerDown
Value: 0x53B
WdfDevStatePwrPolTimerExpiredWakeCompletedPowerUp
Value: 0x53C
WdfDevStatePwrPolWaitingArmedUsbSS
Value: 0x53D
WdfDevStatePwrPolWaitingArmed
Value: 0x53E
WdfDevStatePwrPolWaitingArmedQueryIdle
Value: 0x53F
WdfDevStatePwrPolIoPresentArmed
Value: 0x540
WdfDevStatePwrPolIoPresentArmedWakeCanceled
Value: 0x541
WdfDevStatePwrPolS0WakeDisarm
Value: 0x542
WdfDevStatePwrPolS0WakeCompletePowerUp
Value: 0x543
WdfDevStatePwrPolTimerExpiredWakeSucceeded
Value: 0x544
WdfDevStatePwrPolTimerExpiredWakeCompletedDisarm
Value: 0x545
WdfDevStatePwrPolTimerExpiredWakeCapableWakeSucceeded
Value: 0x546
WdfDevStatePwrPolTimerExpiredWakeCapableWakeFailed
Value: 0x547
WdfDevStatePwrPolWakeFailedUsbSS
Value: 0x548
WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownFailedCancelWake
Value: 0x549
WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownFailedWakeCanceled
Value: 0x54A
WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownFailedUsbSS
Value: 0x54B
WdfDevStatePwrPolCancelingWakeForSystemSleep
Value: 0x54C
WdfDevStatePwrPolCancelingWakeForSystemSleepWakeCanceled
Value: 0x54D
WdfDevStatePwrPolDisarmingWakeForSystemSleepCompletePowerUp
Value: 0x54E
WdfDevStatePwrPolPowerUpForSystemSleepFailed
Value: 0x54F
WdfDevStatePwrPolWokeFromS0UsbSS
Value: 0x550
WdfDevStatePwrPolWokeFromS0
Value: 0x551
WdfDevStatePwrPolWokeFromS0NotifyDriver
Value: 0x552
WdfDevStatePwrPolStoppingResetDevice
Value: 0x553
WdfDevStatePwrPolStoppingResetDeviceCompletePowerUp
Value: 0x554
WdfDevStatePwrPolStoppingResetDeviceFailed
Value: 0x555
WdfDevStatePwrPolStoppingD0
Value: 0x556
WdfDevStatePwrPolStoppingD0Failed
Value: 0x557
WdfDevStatePwrPolStoppingDisarmWake
Value: 0x558
WdfDevStatePwrPolStoppingDisarmWakeCancelWake
Value: 0x559
WdfDevStatePwrPolStoppingDisarmWakeWakeCanceled
Value: 0x55A
WdfDevStatePwrPolStopping
Value: 0x55B
WdfDevStatePwrPolStoppingFailed
Value: 0x55C
WdfDevStatePwrPolStoppingSendStatus
Value: 0x55D
WdfDevStatePwrPolStoppingCancelTimer
Value: 0x55E
WdfDevStatePwrPolStoppingWaitForIdleTimeout
Value: 0x55F
WdfDevStatePwrPolStoppingCancelUsbSS
Value: 0x560
WdfDevStatePwrPolStoppingWaitForUsbSSCompletion
Value: 0x561
WdfDevStatePwrPolStoppingCancelWake
Value: 0x562
WdfDevStatePwrPolStopped
Value: 0x563
WdfDevStatePwrPolCancelUsbSS
Value: 0x564
WdfDevStatePwrPolStarted
Value: 0x565
WdfDevStatePwrPolStartedCancelTimer
Value: 0x566
WdfDevStatePwrPolStartedWaitForIdleTimeout
Value: 0x567
WdfDevStatePwrPolStartedWakeCapableCancelTimerForSleep
Value: 0x568
WdfDevStatePwrPolStartedWakeCapableWaitForIdleTimeout
Value: 0x569
WdfDevStatePwrPolStartedWakeCapableSleepingUsbSS
Value: 0x56A
WdfDevStatePwrPolStartedIdleCapableCancelTimerForSleep
Value: 0x56B
WdfDevStatePwrPolStartedIdleCapableWaitForIdleTimeout
Value: 0x56C
WdfDevStatePwrPolDeviceD0PowerRequestFailed
Value: 0x56D
WdfDevStatePwrPolDevicePowerRequestFailed
Value: 0x56E
WdfDevStatePwrPolGotoDx
Value: 0x56F
WdfDevStatePwrPolGotoDxInDx
Value: 0x570
WdfDevStatePwrPolDx
Value: 0x571
WdfDevStatePwrPolGotoD0
Value: 0x572
WdfDevStatePwrPolGotoD0InD0
Value: 0x573
WdfDevStatePwrPolFinal
Value: 0x574
WdfDevStatePwrPolSleepingPowerDownNotProcessed
Value: 0x575
WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownNotProcessed
Value: 0x576
WdfDevStatePwrPolTimerExpiredNoWakePowerDownNotProcessed
Value: 0x577
WdfDevStatePwrPolTimerExpiredNoWakePoweredDownDisableIdleTimer
Value: 0x578
WdfDevStatePwrPolStoppingWaitingForImplicitPowerDown
Value: 0x579
WdfDevStatePwrPolStoppingPoweringUp
Value: 0x57A
WdfDevStatePwrPolStoppingPoweringDown
Value: 0x57B
WdfDevStatePwrPolPowerUpForSystemSleepNotSeen
Value: 0x57C
WdfDevStatePwrPolWaitingArmedStoppingCancelUsbSS
Value: 0x57D
WdfDevStatePwrPolWaitingArmedWakeFailedCancelUsbSS
Value: 0x57E
WdfDevStatePwrPolWaitingArmedIoPresentCancelUsbSS
Value: 0x57F
WdfDevStatePwrPolWaitingArmedWakeSucceededCancelUsbSS
Value: 0x580
WdfDevStatePwrPolCancelingUsbSSForSystemSleep
Value: 0x581
WdfDevStatePwrPolStoppingD0CancelUsbSS
Value: 0x582
WdfDevStatePwrPolStartingPoweredUp
Value: 0x583
WdfDevStatePwrPolIdleCapableDeviceIdle
Value: 0x584
WdfDevStatePwrPolDeviceIdleReturnToActive
Value: 0x585
WdfDevStatePwrPolDeviceIdleSleeping
Value: 0x586
WdfDevStatePwrPolDeviceIdleStopping
Value: 0x587
WdfDevStatePwrPolTimerExpiredNoWakeUndoPowerDown
Value: 0x588
WdfDevStatePwrPolWakeCapableDeviceIdle
Value: 0x589
WdfDevStatePwrPolWakeCapableUsbSSCompleted
Value: 0x58A
WdfDevStatePwrPolTimerExpiredWakeCapableUndoPowerDown
Value: 0x58B
WdfDevStatePwrPolTimerExpiredWakeCompletedHardwareStarted
Value: 0x58C
WdfDevStatePwrPolStoppedRemoving
Value: 0x58D
WdfDevStatePwrPolRemoved
Value: 0x58E
WdfDevStatePwrPolRestarting
Value: 0x58F
WdfDevStatePwrPolRestartingFailed
Value: 0x590
WdfDevStatePwrPolStartingPoweredUpFailed
Value: 0x591
WdfDevStatePwrPolTimerExpiredNoWakeReturnToActive
Value: 0x592
WdfDevStatePwrPolWaitingArmedWakeInterruptFired
Value: 0x593
WdfDevStatePwrPolSystemWakeDeviceWakeInterruptFired
Value: 0x594
WdfDevStatePwrPolSystemWakeDeviceWakeInterruptFiredNP
WdfDevStatePwrPolTimerExpiredWakeCapableWakeInterruptArrived
Value: 0x596
WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownFailedWakeInterruptArrived
Value: 0x597
WdfDevStatePwrPolWaitingArmedWakeInterruptFiredDuringPowerDown
Value: 0x598
WdfDevStatePwrPolStartedNotIdleCapableDirectedDown
Value: 0x599
WdfDevStatePwrPolStartedIdleCapableTimerCanceledForSleep
Value: 0x59A
WdfDevStatePwrPolTimerExpiredNoWakeUndoPowerDownWaitForDirectedUp
Value: 0x59B
WdfDevStatePwrPolIdleCapableTimerNotExpiredDirectedDown
Value: 0x59C
WdfDevStatePwrPolIdleCapableDirectedDownTriggerDPNR
Value: 0x59D
WdfDevStatePwrPolWaitingUnarmedDirectedDown
Value: 0x59E
WdfDevStatePwrPolIdleCapableDirectedDownTriggerDPR
Value: 0x59F
WdfDevStatePwrPolStartedWakeCapableTimerCanceledForSleep
Value: 0x5A0
WdfDevStatePwrPolWakeCapableTimerNotExpiredDirectedDown
Value: 0x5A1
WdfDevStatePwrPolWakeCapableDirectedDownTriggerDPNR
Value: 0x5A2
WdfDevStatePwrPolTimerExpiredWakeCompletedPowerDownWaitForDirectedUp
Value: 0x5A3
WdfDevStatePwrPolTimerExpiredWakeCompletedPowerDownDirectedTriggerDPR
Value: 0x5A4
WdfDevStatePwrPolTimerExpiredWakeCapableUndoPowerDownWaitForDirectedUp
Value: 0x5A5
WdfDevStatePwrPolWakeCapableUsbSSCompletedUndoWaitForDirectedUp
Value: 0x5A6
WdfDevStatePwrPolTimerExpiredWakeCapableUsbSSDirectedDown
Value: 0x5A7
WdfDevStatePwrPolWaitingArmedWakeInterruptFiredDuringPowerDownCheckDirected
Value: 0x5A8
WdfDevStatePwrPolTimerExpiredWakeCompletedPowerDownCheckDirected
Value: 0x5A9
WdfDevStatePwrPolTimerExpiredWakeCapableWakeSucceededCheckDirected
Value: 0x5AA
WdfDevStatePwrPolTimerExpiredWakeCapableWakeSucceededWaitForDirectedUp
Value: 0x5AB
WdfDevStatePwrPolTimerExpiredWakeCapableWakeSucceededTriggerDPR
Value: 0x5AC
WdfDevStatePwrPolTimerExpiredWakeCapableWakeFailedCheckDirected
Value: 0x5AD
WdfDevStatePwrPolTimerExpiredWakeCapableWakeFailedWaitForDirectedUp
Value: 0x5AE
WdfDevStatePwrPolTimerExpiredWakeCapableWakeFailedTriggerDPR
Value: 0x5AF
WdfDevStatePwrPolWaitingArmedDirectedDownWakeInterruptFiredTriggerDPR
Value: 0x5B0
WdfDevStatePwrPolWaitingArmedDirectedDownWakeInterruptFired
Value: 0x5B1
WdfDevStatePwrPolWaitingArmedDirectedDown
Value: 0x5B2
WdfDevStatePwrPolWaitingArmedDirectedDownWakeSucceededCancelUsbSS
Value: 0x5B3
WdfDevStatePwrPolWaitingArmedDirectedDownWakeFailedCancelUsbSS
Value: 0x5B4
WdfDevStatePwrPolWaitingArmedDirectedDownTriggerDPR
Value: 0x5B5
WdfDevStatePwrPolWaitingArmedDirectedDownWakeSucceededTriggerDPR
Value: 0x5B6
WdfDevStatePwrPolWaitingArmedDirectedDownUsbSSCompleted
Value: 0x5B7
WdfDevStatePwrPolWaitingArmedDirectedDownUsbSSCompletedTriggerDPR
Value: 0x5B8
WdfDevStatePwrPolWaitingArmedDirectedDownWakeFailedCancelUsbSSTriggerDPR
Value: 0x5B9
WdfDevStatePwrPolUsbSSCancelled
Value: 0x5BA
WdfDevStatePwrPolTimerExpiredWakeCapableRevertArmWake
Value: 0x5BB
WdfDevStatePwrPolSleepingWakeCancelWake
Value: 0x5BC
WdfDevStatePwrPolSleepingWakeCancelWakeNP
WdfDevStatePwrPolSystemWakeDeviceD0PowerRequestFailed
Value: 0x5BE
WdfDevStatePwrPolSystemWakeDevicePowerRequestFailed
Value: 0x5BF
WdfDevStatePwrPolNull
Value: 0x5C0

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

Requirement Value
Minimum KMDF version 1.0
Header wdfdevice.h (include Wdf.h)