Freigeben über


WDF_DEVICE_PNP_STATE-Enumeration (wdfdevice.h)

[Gilt nur für KMDF]

Hinweis

Diese Enumeration ist nur für die interne Verwendung von Microsoft vorgesehen.

Die WDF_DEVICE_PNP_STATE-Enumeration identifiziert alle Zustände, die der Plug & Play Zustandscomputer des Frameworks eingeben kann.

Syntax

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;

Konstanten

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

Hinweise

Die WDF_DEVICE_PNP_STATE-Enumeration wird als Membertyp für die WDF_DEVICE_PNP_NOTIFICATION_DATA-Struktur und als Rückgabetyp für die WdfDeviceGetDevicePnpState-Methode verwendet.

Anforderungen

Anforderung Wert
KMDF-Mindestversion 1.0
Kopfzeile wdfdevice.h (einschließen von Wdf.h)