WDF_DEVICE_PNP_STATE列挙 (wdfdevice.h)

[KMDF にのみ適用]

注意

この列挙は、Microsoft 内部でのみ使用されます。

WDF_DEVICE_PNP_STATE列挙は、フレームワークのプラグ アンド プレイステート マシンが入力できるすべての状態を識別します。

構文

typedef enum _WDF_DEVICE_PNP_STATE {
  WdfDevStatePnpInvalid = 0x00,
  WdfDevStatePnpObjectCreated = 0x100,
  WdfDevStatePnpCheckForDevicePresence = 0x101,
  WdfDevStatePnpEjectFailed = 0x102,
  WdfDevStatePnpEjectHardware = 0x103,
  WdfDevStatePnpEjectedWaitingForRemove = 0x104,
  WdfDevStatePnpInit = 0x105,
  WdfDevStatePnpInitStarting = 0x106,
  WdfDevStatePnpInitSurpriseRemoved = 0x107,
  WdfDevStatePnpHardwareAvailable = 0x108,
  WdfDevStatePnpEnableInterfaces = 0x109,
  WdfDevStatePnpHardwareAvailablePowerPolicyFailed = 0x10A,
  WdfDevStatePnpQueryRemoveAskDriver = 0x10B,
  WdfDevStatePnpQueryRemovePending = 0x10C,
  WdfDevStatePnpQueryRemoveStaticCheck = 0x10D,
  WdfDevStatePnpQueriedRemoving = 0x10E,
  WdfDevStatePnpQueryStopAskDriver = 0x10F,
  WdfDevStatePnpQueryStopPending = 0x110,
  WdfDevStatePnpQueryStopStaticCheck = 0x111,
  WdfDevStatePnpQueryCanceled = 0x112,
  WdfDevStatePnpRemoved = 0x113,
  WdfDevStatePnpPdoRemoved = 0x114,
  WdfDevStatePnpRemovedPdoWait = 0x115,
  WdfDevStatePnpRemovedPdoSurpriseRemoved = 0x116,
  WdfDevStatePnpRemovingDisableInterfaces = 0x117,
  WdfDevStatePnpRestarting = 0x118,
  WdfDevStatePnpStarted = 0x119,
  WdfDevStatePnpStartedCancelStop = 0x11A,
  WdfDevStatePnpStartedCancelRemove = 0x11B,
  WdfDevStatePnpStartedRemoving = 0x11C,
  WdfDevStatePnpStartingFromStopped = 0x11D,
  WdfDevStatePnpStopped = 0x11E,
  WdfDevStatePnpStoppedWaitForStartCompletion = 0x11F,
  WdfDevStatePnpStartedStopping = 0x120,
  WdfDevStatePnpSurpriseRemove = 0x121,
  WdfDevStatePnpInitQueryRemove = 0x122,
  WdfDevStatePnpInitQueryRemoveCanceled = 0x123,
  WdfDevStatePnpFdoRemoved = 0x124,
  WdfDevStatePnpRemovedWaitForChildren = 0x125,
  WdfDevStatePnpQueriedSurpriseRemove = 0x126,
  WdfDevStatePnpSurpriseRemoveIoStarted = 0x127,
  WdfDevStatePnpFailedPowerDown = 0x128,
  WdfDevStatePnpFailedIoStarting = 0x129,
  WdfDevStatePnpFailedOwnHardware = 0x12A,
  WdfDevStatePnpFailed = 0x12B,
  WdfDevStatePnpFailedSurpriseRemoved = 0x12C,
  WdfDevStatePnpFailedStarted = 0x12D,
  WdfDevStatePnpFailedWaitForRemove = 0x12E,
  WdfDevStatePnpFailedInit = 0x12F,
  WdfDevStatePnpPdoInitFailed = 0x130,
  WdfDevStatePnpRestart = 0x131,
  WdfDevStatePnpRestartReleaseHardware = 0x132,
  WdfDevStatePnpRestartHardwareAvailable = 0x133,
  WdfDevStatePnpPdoRestart = 0x134,
  WdfDevStatePnpFinal = 0x135,
  WdfDevStatePnpRemovedChildrenRemoved = 0x136,
  WdfDevStatePnpQueryRemoveEnsureDeviceAwake = 0x137,
  WdfDevStatePnpQueryStopEnsureDeviceAwake = 0x138,
  WdfDevStatePnpFailedPowerPolicyRemoved = 0x139,
  WdfDevStatePnpNull = 0x13A
} WDF_DEVICE_PNP_STATE, *PWDF_DEVICE_PNP_STATE;

定数

 
WdfDevStatePnpInvalid
値: 0x00
WdfDevStatePnpObjectCreated
値: 0x100
WdfDevStatePnpCheckForDevicePresence
値: 0x101
WdfDevStatePnpEjectFailed
値: 0x102
WdfDevStatePnpEjectHardware
値: 0x103
WdfDevStatePnpEjectedWaitingForRemove
値: 0x104
WdfDevStatePnpInit
値: 0x105
WdfDevStatePnpInitStarting
値: 0x106
WdfDevStatePnpInitSurpriseRemoved
値: 0x107
WdfDevStatePnpHardwareAvailable
値: 0x108
WdfDevStatePnpEnableInterfaces
値: 0x109
WdfDevStatePnpHardwareAvailablePowerPolicyFailed
値: 0x10A
WdfDevStatePnpQueryRemoveAskDriver
値: 0x10B
WdfDevStatePnpQueryRemovePending
値: 0x10C
WdfDevStatePnpQueryRemoveStaticCheck
値: 0x10D
WdfDevStatePnpQueriedRemoving
値: 0x10E
WdfDevStatePnpQueryStopAskDriver
値: 0x10F
WdfDevStatePnpQueryStopPending
値: 0x110
WdfDevStatePnpQueryStopStaticCheck
値: 0x111
WdfDevStatePnpQueryCanceled
値: 0x112
WdfDevStatePnpRemoved
値: 0x113
WdfDevStatePnpPdoRemoved
値: 0x114
WdfDevStatePnpRemovedPdoWait
値: 0x115
WdfDevStatePnpRemovedPdoSurpriseRemoved
値: 0x116
WdfDevStatePnpRemovingDisableInterfaces
値: 0x117
WdfDevStatePnpRestarting
値: 0x118
WdfDevStatePnpStarted
値: 0x119
WdfDevStatePnpStartedCancelStop
値: 0x11A
WdfDevStatePnpStartedCancelRemove
値: 0x11B
WdfDevStatePnpStartedRemoving
値: 0x11C
WdfDevStatePnpStartingFromStopped
値: 0x11D
WdfDevStatePnpStopped
値: 0x11E
WdfDevStatePnpStoppedWaitForStartCompletion
値: 0x11F
WdfDevStatePnpStartedStopping
値: 0x120
WdfDevStatePnpSurpriseRemove
値: 0x121
WdfDevStatePnpInitQueryRemove
値: 0x122
WdfDevStatePnpInitQueryRemoveCanceled
値: 0x123
WdfDevStatePnpFdoRemoved
値: 0x124
WdfDevStatePnpRemovedWaitForChildren
値: 0x125
WdfDevStatePnpQueriedSurpriseRemove
値: 0x126
WdfDevStatePnpSurpriseRemoveIoStarted
値: 0x127
WdfDevStatePnpFailedPowerDown
値: 0x128
WdfDevStatePnpFailedIoStarting
値: 0x129
WdfDevStatePnpFailedOwnHardware
値: 0x12A
WdfDevStatePnpFailed
値: 0x12B
WdfDevStatePnpFailedSurpriseRemoved
値: 0x12C
WdfDevStatePnpFailedStarted
値: 0x12D
WdfDevStatePnpFailedWaitForRemove
値: 0x12E
WdfDevStatePnpFailedInit
値: 0x12F
WdfDevStatePnpPdoInitFailed
値: 0x130
WdfDevStatePnpRestart
値: 0x131
WdfDevStatePnpRestartReleaseHardware
値: 0x132
WdfDevStatePnpRestartHardwareAvailable
値: 0x133
WdfDevStatePnpPdoRestart
値: 0x134
WdfDevStatePnpFinal
値: 0x135
WdfDevStatePnpRemovedChildrenRemoved
値: 0x136
WdfDevStatePnpQueryRemoveEnsureDeviceAwake
値: 0x137
WdfDevStatePnpQueryStopEnsureDeviceAwake
値: 0x138
WdfDevStatePnpFailedPowerPolicyRemoved
値: 0x139
WdfDevStatePnpNull
値: 0x13A

注釈

WDF_DEVICE_PNP_STATE列挙体は、 WDF_DEVICE_PNP_NOTIFICATION_DATA 構造体のメンバー型として、および WdfDeviceGetDevicePnpState メソッドの戻り値の型として使用されます。

要件

要件
最小 KMDF バージョン 1.0
Header wdfdevice.h (Wdf.h を含む)