다음을 통해 공유


WDF_DEVICE_POWER_STATE 열거형(wdfdevice.h)

[KMDF에만 적용]

참고

이 열거형은 Microsoft 내부용으로만 사용됩니다.

WDF_DEVICE_POWER_STATE 열거형은 프레임워크의 전원 상태 컴퓨터가 입력할 수 있는 모든 상태를 식별합니다.

Syntax

typedef enum _WDF_DEVICE_POWER_STATE {
  WdfDevStatePowerInvalid = 0x00,
  WdfDevStatePowerObjectCreated = 0x300,
  WdfDevStatePowerCheckDeviceType = 0x301,
  WdfDevStatePowerCheckDeviceTypeNP = 0x302 | WdfDevStateNP,
  WdfDevStatePowerCheckParentState = 0x303,
  WdfDevStatePowerCheckParentStateNP = 0x304 | WdfDevStateNP,
  WdfDevStatePowerEnablingWakeAtBus = 0x305,
  WdfDevStatePowerEnablingWakeAtBusNP = 0x306 | WdfDevStateNP,
  WdfDevStatePowerD0 = 0x307,
  WdfDevStatePowerD0NP = 0x308 | WdfDevStateNP,
  WdfDevStatePowerD0BusWakeOwner = 0x309,
  WdfDevStatePowerD0BusWakeOwnerNP = 0x30A | WdfDevStateNP,
  WdfDevStatePowerD0ArmedForWake = 0x30B,
  WdfDevStatePowerD0ArmedForWakeNP = 0x30C | WdfDevStateNP,
  WdfDevStatePowerD0DisarmingWakeAtBus = 0x30D,
  WdfDevStatePowerD0DisarmingWakeAtBusNP = 0x30E | WdfDevStateNP,
  WdfDevStatePowerD0Starting = 0x30F,
  WdfDevStatePowerD0StartingConnectInterrupt = 0x310,
  WdfDevStatePowerD0StartingDmaEnable = 0x311,
  WdfDevStatePowerD0StartingStartSelfManagedIo = 0x312,
  WdfDevStatePowerDecideD0State = 0x313,
  WdfDevStatePowerGotoD3Stopped = 0x314,
  WdfDevStatePowerStopped = 0x315,
  WdfDevStatePowerStartingCheckDeviceType = 0x316,
  WdfDevStatePowerStartingChild = 0x317,
  WdfDevStatePowerDxDisablingWakeAtBus = 0x318,
  WdfDevStatePowerDxDisablingWakeAtBusNP = 0x319 | WdfDevStateNP,
  WdfDevStatePowerGotoDx = 0x31A,
  WdfDevStatePowerGotoDxNP = 0x31B | WdfDevStateNP,
  WdfDevStatePowerGotoDxIoStopped = 0x31C,
  WdfDevStatePowerGotoDxIoStoppedNP = 0x31D | WdfDevStateNP,
  WdfDevStatePowerGotoDxNPFailed = 0x31E | WdfDevStateNP,
  WdfDevStatePowerDx = 0x31F,
  WdfDevStatePowerDxNP = 0x320 | WdfDevStateNP,
  WdfDevStatePowerGotoDxArmedForWake = 0x321,
  WdfDevStatePowerGotoDxArmedForWakeNP = 0x322 | WdfDevStateNP,
  WdfDevStatePowerGotoDxIoStoppedArmedForWake = 0x323,
  WdfDevStatePowerGotoDxIoStoppedArmedForWakeNP = 0x324 | WdfDevStateNP,
  WdfDevStatePowerDxArmedForWake = 0x325,
  WdfDevStatePowerDxArmedForWakeNP = 0x326 | WdfDevStateNP,
  WdfDevStatePowerCheckParentStateArmedForWake = 0x327,
  WdfDevStatePowerCheckParentStateArmedForWakeNP = 0x328 | WdfDevStateNP,
  WdfDevStatePowerWaitForParentArmedForWake = 0x329,
  WdfDevStatePowerWaitForParentArmedForWakeNP = 0x32A | WdfDevStateNP,
  WdfDevStatePowerStartSelfManagedIo = 0x32B,
  WdfDevStatePowerStartSelfManagedIoNP = 0x32C | WdfDevStateNP,
  WdfDevStatePowerStartSelfManagedIoFailed = 0x32D,
  WdfDevStatePowerStartSelfManagedIoFailedNP = 0x32E | WdfDevStateNP,
  WdfDevStatePowerWaitForParent = 0x32F,
  WdfDevStatePowerWaitForParentNP = 0x330 | WdfDevStateNP,
  WdfDevStatePowerWakePending = 0x331,
  WdfDevStatePowerWakePendingNP = 0x332 | WdfDevStateNP,
  WdfDevStatePowerWaking = 0x333,
  WdfDevStatePowerWakingNP = 0x334 | WdfDevStateNP,
  WdfDevStatePowerWakingConnectInterrupt = 0x335,
  WdfDevStatePowerWakingConnectInterruptNP = 0x336 | WdfDevStateNP,
  WdfDevStatePowerWakingConnectInterruptFailed = 0x337,
  WdfDevStatePowerWakingConnectInterruptFailedNP = 0x338 | WdfDevStateNP,
  WdfDevStatePowerWakingDmaEnable = 0x339,
  WdfDevStatePowerWakingDmaEnableNP = 0x33A | WdfDevStateNP,
  WdfDevStatePowerWakingDmaEnableFailed = 0x33B,
  WdfDevStatePowerWakingDmaEnableFailedNP = 0x33C | WdfDevStateNP,
  WdfDevStatePowerReportPowerUpFailedDerefParent = 0x33D,
  WdfDevStatePowerReportPowerUpFailed = 0x33E,
  WdfDevStatePowerPowerFailedPowerDown = 0x33F,
  WdfDevStatePowerReportPowerDownFailed = 0x340,
  WdfDevStatePowerInitialConnectInterruptFailed = 0x341,
  WdfDevStatePowerInitialDmaEnableFailed = 0x342,
  WdfDevStatePowerInitialSelfManagedIoFailed = 0x343,
  WdfDevStatePowerInitialPowerUpFailedDerefParent = 0x344,
  WdfDevStatePowerInitialPowerUpFailed = 0x345,
  WdfDevStatePowerDxStoppedDisarmWake = 0x346,
  WdfDevStatePowerDxStoppedDisarmWakeNP = 0x347 | WdfDevStateNP,
  WdfDevStatePowerGotoDxStoppedDisableInterruptNP = 0x348 | WdfDevStateNP,
  WdfDevStatePowerGotoDxStopped = 0x349,
  WdfDevStatePowerDxStopped = 0x34A,
  WdfDevStatePowerGotoStopped = 0x34B,
  WdfDevStatePowerStoppedCompleteDx = 0x34C,
  WdfDevStatePowerDxStoppedDecideDxState = 0x34D,
  WdfDevStatePowerDxStoppedArmForWake = 0x34E,
  WdfDevStatePowerDxStoppedArmForWakeNP = 0x34F | WdfDevStateNP,
  WdfDevStatePowerFinalPowerDownFailed = 0x350,
  WdfDevStatePowerFinal = 0x351,
  WdfDevStatePowerGotoImplicitD3DisarmWakeAtBus = 0x352,
  WdfDevStatePowerUpFailed = 0x353,
  WdfDevStatePowerUpFailedDerefParent = 0x354,
  WdfDevStatePowerGotoDxFailed = 0x355,
  WdfDevStatePowerGotoDxStoppedDisableInterrupt = 0x356,
  WdfDevStatePowerUpFailedNP = 0x357 | WdfDevStateNP,
  WdfDevStatePowerUpFailedDerefParentNP = 0x358 | WdfDevStateNP,
  WdfDevStatePowerNotifyingD0ExitToWakeInterrupts = 0x359,
  WdfDevStatePowerNotifyingD0EntryToWakeInterrupts = 0x35A,
  WdfDevStatePowerNotifyingD0ExitToWakeInterruptsNP = 0x35B | WdfDevStateNP,
  WdfDevStatePowerNotifyingD0EntryToWakeInterruptsNP = 0x35C | WdfDevStateNP,
  WdfDevStatePowerInitialPowerUpFailedPowerDown = 0x35D,
  WdfDevStatePowerUpFailedPowerDown = 0x35E,
  WdfDevStatePowerUpFailedPowerDownNP = 0x35F | WdfDevStateNP,
  WdfDevStatePowerInitialSelfManagedIoFailedStarted = 0x360,
  WdfDevStatePowerStartSelfManagedIoFailedStarted = 0x361,
  WdfDevStatePowerStartSelfManagedIoFailedStartedNP = 0x362 | WdfDevStateNP,
  WdfDevStatePowerWakingPostHardwareEnabled = 0x363,
  WdfDevStatePowerWakingPostHardwareEnabledNP = 0x364 | WdfDevStateNP,
  WdfDevStatePowerWakingPostHardwareEnabledFailed = 0x365,
  WdfDevStatePowerWakingPostHardwareEnabledFailedNP = 0x366 | WdfDevStateNP,
  WdfDevStatePowerD0StartingPostHardwareEnabled = 0x367,
  WdfDevStatePowerInitialPostHardwareEnabledFailed = 0x368,
  WdfDevStatePowerNull = 0x369
} WDF_DEVICE_POWER_STATE, *PWDF_DEVICE_POWER_STATE;

상수

 
WdfDevStatePowerInvalid
값: 0x00
WdfDevStatePowerObjectCreated
값: 0x300
WdfDevStatePowerCheckDeviceType
값: 0x301
WdfDevStatePowerCheckDeviceTypeNP
값: 0x302
WdfDevStatePowerCheckParentState
값: 0x303
WdfDevStatePowerCheckParentStateNP
값: 0x304
WdfDevStatePowerEnablingWakeAtBus
값: 0x305
WdfDevStatePowerEnablingWakeAtBusNP
값: 0x306
WdfDevStatePowerD0
값: 0x307
WdfDevStatePowerD0NP
값: 0x308
WdfDevStatePowerD0BusWakeOwner
값: 0x309
WdfDevStatePowerD0BusWakeOwnerNP
값: 0x30A
WdfDevStatePowerD0ArmedForWake
값: 0x30B
WdfDevStatePowerD0ArmedForWakeNP
값: 0x30C
WdfDevStatePowerD0DisarmingWakeAtBus
값: 0x30D
WdfDevStatePowerD0DisarmingWakeAtBusNP
값: 0x30E
WdfDevStatePowerD0Starting
값: 0x30F
WdfDevStatePowerD0StartingConnectInterrupt
값: 0x310
WdfDevStatePowerD0StartingDmaEnable
값: 0x311
WdfDevStatePowerD0StartingStartSelfManagedIo
값: 0x312
WdfDevStatePowerDecideD0State
값: 0x313
WdfDevStatePowerGotoD3Stopped
값: 0x314
WdfDevStatePowerStopped
값: 0x315
WdfDevStatePowerStartingCheckDeviceType
값: 0x316
WdfDevStatePowerStartingChild
값: 0x317
WdfDevStatePowerDxDisablingWakeAtBus
값: 0x318
WdfDevStatePowerDxDisablingWakeAtBusNP
값: 0x319
WdfDevStatePowerGotoDx
값: 0x31A
WdfDevStatePowerGotoDxNP
값: 0x31B
WdfDevStatePowerGotoDxIoStopped
값: 0x31C
WdfDevStatePowerGotoDxIoStoppedNP
값: 0x31D
WdfDevStatePowerGotoDxNPFailed
값: 0x31E
WdfDevStatePowerDx
값: 0x31F
WdfDevStatePowerDxNP
값: 0x320
WdfDevStatePowerGotoDxArmedForWake
값: 0x321
WdfDevStatePowerGotoDxArmedForWakeNP
값: 0x322
WdfDevStatePowerGotoDxIoStoppedArmedForWake
값: 0x323
WdfDevStatePowerGotoDxIoStoppedArmedForWakeNP
값: 0x324
WdfDevStatePowerDxArmedForWake
값: 0x325
WdfDevStatePowerDxArmedForWakeNP
값: 0x326
WdfDevStatePowerCheckParentStateArmedForWake
값: 0x327
WdfDevStatePowerCheckParentStateArmedForWakeNP
값: 0x328
WdfDevStatePowerWaitForParentArmedForWake
값: 0x329
WdfDevStatePowerWaitForParentArmedForWakeNP
값: 0x32A
WdfDevStatePowerStartSelfManagedIo
값: 0x32B
WdfDevStatePowerStartSelfManagedIoNP
값: 0x32C
WdfDevStatePowerStartSelfManagedIoFailed
값: 0x32D
WdfDevStatePowerStartSelfManagedIoFailedNP
값: 0x32E
WdfDevStatePowerWaitForParent
값: 0x32F
WdfDevStatePowerWaitForParentNP
값: 0x330
WdfDevStatePowerWakePending
값: 0x331
WdfDevStatePowerWakePendingNP
값: 0x332
WdfDevStatePowerWaking
값: 0x333
WdfDevStatePowerWakingNP
값: 0x334
WdfDevStatePowerWakingConnectInterrupt
값: 0x335
WdfDevStatePowerWakingConnectInterruptNP
값: 0x336
WdfDevStatePowerWakingConnectInterruptFailed
값: 0x337
WdfDevStatePowerWakingConnectInterruptFailedNP
값: 0x338
WdfDevStatePowerWakingDmaEnable
값: 0x339
WdfDevStatePowerWakingDmaEnableNP
값: 0x33A
WdfDevStatePowerWakingDmaEnableFailed
값: 0x33B
WdfDevStatePowerWakingDmaEnableFailedNP
값: 0x33C
WdfDevStatePowerReportPowerUpFailedDerefParent
값: 0x33D
WdfDevStatePowerReportPowerUpFailed
값: 0x33E
WdfDevStatePowerPowerFailedPowerDown
값: 0x33F
WdfDevStatePowerReportPowerDownFailed
값: 0x340
WdfDevStatePowerInitialConnectInterruptFailed
값: 0x341
WdfDevStatePowerInitialDmaEnableFailed
값: 0x342
WdfDevStatePowerInitialSelfManagedIoFailed
값: 0x343
WdfDevStatePowerInitialPowerUpFailedDerefParent
값: 0x344
WdfDevStatePowerInitialPowerUpFailed
값: 0x345
WdfDevStatePowerDxStoppedDisarmWake
값: 0x346
WdfDevStatePowerDxStoppedDisarmWakeNP
값: 0x347
WdfDevStatePowerGotoDxStoppedDisableInterruptNP
값: 0x348
WdfDevStatePowerGotoDxStopped
값: 0x349
WdfDevStatePowerDxStopped
값: 0x34A
WdfDevStatePowerGotoStopped
값: 0x34B
WdfDevStatePowerStoppedCompleteDx
값: 0x34C
WdfDevStatePowerDxStoppedDecideDxState
값: 0x34D
WdfDevStatePowerDxStoppedArmForWake
값: 0x34E
WdfDevStatePowerDxStoppedArmForWakeNP
값: 0x34F
WdfDevStatePowerFinalPowerDownFailed
값: 0x350
WdfDevStatePowerFinal
값: 0x351
WdfDevStatePowerGotoImplicitD3DisarmWakeAtBus
값: 0x352
WdfDevStatePowerUpFailed
값: 0x353
WdfDevStatePowerUpFailedDerefParent
값: 0x354
WdfDevStatePowerGotoDxFailed
값: 0x355
WdfDevStatePowerGotoDxStoppedDisableInterrupt
값: 0x356
WdfDevStatePowerUpFailedNP
값: 0x357
WdfDevStatePowerUpFailedDerefParentNP
값: 0x358
WdfDevStatePowerNotifyingD0ExitToWakeInterrupts
값: 0x359
WdfDevStatePowerNotifyingD0EntryToWakeInterrupts
값: 0x35A
WdfDevStatePowerNotifyingD0ExitToWakeInterruptsNP
값: 0x35B
WdfDevStatePowerNotifyingD0EntryToWakeInterruptsNP
값: 0x35C
WdfDevStatePowerInitialPowerUpFailedPowerDown
값: 0x35D
WdfDevStatePowerUpFailedPowerDown
값: 0x35E
WdfDevStatePowerUpFailedPowerDownNP
값: 0x35F
WdfDevStatePowerInitialSelfManagedIoFailedStarted
값: 0x360
WdfDevStatePowerStartSelfManagedIoFailedStarted
값: 0x361
WdfDevStatePowerStartSelfManagedIoFailedStartedNP
값: 0x362
WdfDevStatePowerWakingPostHardwareEnabled
값: 0x363
WdfDevStatePowerWakingPostHardwareEnabledNP
값: 0x364
WdfDevStatePowerWakingPostHardwareEnabledFailed
값: 0x365
WdfDevStatePowerWakingPostHardwareEnabledFailedNP
값: 0x366
WdfDevStatePowerD0StartingPostHardwareEnabled
값: 0x367
WdfDevStatePowerInitialPostHardwareEnabledFailed
값: 0x368
WdfDevStatePowerNull
값: 0x369

설명

WDF_DEVICE_POWER_STATE 열거형은 WDF_DEVICE_POWER_NOTIFICATION_DATA 구조체의 멤버 형식으로 사용되며 WdfDeviceGetDevicePowerState 메서드의 반환 형식으로 사용됩니다.

요구 사항

요구 사항
최소 KMDF 버전 1.0
머리글 wdfdevice.h(Wdf.h 포함)