Partager via


énumération WDF_DEVICE_PNP_STATE (wdfdevice.h)

[S’applique uniquement à KMDF]

Notes

Cette énumération est destinée à un usage interne Microsoft uniquement.

L’énumération WDF_DEVICE_PNP_STATE identifie tous les états que l’ordinateur d’état Plug-and-Play de l’infrastructure peut entrer.

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;

Constantes

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

Remarques

L’énumération WDF_DEVICE_PNP_STATE est utilisée comme type membre pour la structure WDF_DEVICE_PNP_NOTIFICATION_DATA et comme type de retour pour la méthode WdfDeviceGetDevicePnpState .

Configuration requise

Condition requise Valeur
Version KMDF minimale 1.0
En-tête wdfdevice.h (include Wdf.h)