enumeração WDF_DEVICE_PNP_STATE (wdfdevice.h)

[Aplica-se somente ao KMDF]

Observação

Essa enumeração é somente para uso interno da Microsoft.

A enumeração WDF_DEVICE_PNP_STATE identifica todos os estados que o computador de estado Plug and Play da estrutura pode inserir.

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

Comentários

A enumeração WDF_DEVICE_PNP_STATE é usada como um tipo de membro para a estrutura WDF_DEVICE_PNP_NOTIFICATION_DATA e como o tipo de retorno para o método WdfDeviceGetDevicePnpState .

Requisitos

Requisito Valor
Versão mínima do KMDF 1.0
Cabeçalho wdfdevice.h (inclua Wdf.h)