Поделиться через


перечисление WDF_DEVICE_POWER_POLICY_STATE (wdfdevice.h)

[Относится только к KMDF]

Примечание

Это перечисление предназначено только для внутреннего использования майкрософт.

Перечисление WDF_DEVICE_POWER_POLICY_STATE определяет все состояния, в которые может входить конечный автомат политики управления платформой.

Синтаксис

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;

Константы

 
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
WdfDevStatePwrPolSleepingWakeRevertArmWakeNP
WdfDevStatePwrPolSleepingWakePowerDownFailed
Значение: 0x51C
WdfDevStatePwrPolSleepingWakePowerDownFailedWakeCanceled
Значение: 0x51D
WdfDevStatePwrPolSystemAsleepWakeArmedNP
WdfDevStatePwrPolSystemWakeDeviceWakeEnabledNP
WdfDevStatePwrPolSystemWakeDeviceWakeEnabledWakeCanceledNP
WdfDevStatePwrPolSystemWakeDeviceWakeDisarmNP
WdfDevStatePwrPolSystemWakeDeviceWakeTriggeredNP
WdfDevStatePwrPolSystemWakeDeviceWakeTriggeredS0NP
WdfDevStatePwrPolSystemWakeDeviceWokeDisarmNP
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
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
WdfDevStatePwrPolSystemWakeDeviceD0PowerRequestFailed
Значение: 0x5BE
WdfDevStatePwrPolSystemWakeDevicePowerRequestFailed
Значение: 0x5BF
WdfDevStatePwrPolNull
Значение: 0x5C0

Комментарии

Перечисление WDF_DEVICE_POWER_POLICY_STATE используется в качестве типа-члена в структуре WDF_DEVICE_POWER_POLICY_NOTIFICATION_DATA и в качестве возвращаемого типа для метода WdfDeviceGetDevicePowerPolicyState .

Требования

Требование Значение
Минимальная версия KMDF 1,0
Верхняя часть wdfdevice.h (включая Wdf.h)