WDF_DEVICE_POWER_POLICY_STATE 枚举 (wdfdevice.h)
[仅适用于 KMDF]
注意
此枚举仅供 Microsoft 内部使用。
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) |