WDF_DEVICE_PNP_STATE enumeration (wdfdevice.h)

[Applies to KMDF only]

Note

This enumeration is for Microsoft internal use only.

The WDF_DEVICE_PNP_STATE enumeration identifies all of the states that the framework's Plug and Play state machine can enter.

Syntax

typedef enum _WDF_DEVICE_PNP_STATE {
  WdfDevStatePnpInvalid,
  WdfDevStatePnpObjectCreated,
  WdfDevStatePnpCheckForDevicePresence,
  WdfDevStatePnpEjectFailed,
  WdfDevStatePnpEjectHardware,
  WdfDevStatePnpEjectedWaitingForRemove,
  WdfDevStatePnpInit,
  WdfDevStatePnpInitStarting,
  WdfDevStatePnpInitSurpriseRemoved,
  WdfDevStatePnpHardwareAvailable,
  WdfDevStatePnpEnableInterfaces,
  WdfDevStatePnpHardwareAvailablePowerPolicyFailed,
  WdfDevStatePnpQueryRemoveAskDriver,
  WdfDevStatePnpQueryRemovePending,
  WdfDevStatePnpQueryRemoveStaticCheck,
  WdfDevStatePnpQueriedRemoving,
  WdfDevStatePnpQueryStopAskDriver,
  WdfDevStatePnpQueryStopPending,
  WdfDevStatePnpQueryStopStaticCheck,
  WdfDevStatePnpQueryCanceled,
  WdfDevStatePnpRemoved,
  WdfDevStatePnpPdoRemoved,
  WdfDevStatePnpRemovedPdoWait,
  WdfDevStatePnpRemovedPdoSurpriseRemoved,
  WdfDevStatePnpRemovingDisableInterfaces,
  WdfDevStatePnpRestarting,
  WdfDevStatePnpStarted,
  WdfDevStatePnpStartedCancelStop,
  WdfDevStatePnpStartedCancelRemove,
  WdfDevStatePnpStartedRemoving,
  WdfDevStatePnpStartingFromStopped,
  WdfDevStatePnpStopped,
  WdfDevStatePnpStoppedWaitForStartCompletion,
  WdfDevStatePnpStartedStopping,
  WdfDevStatePnpSurpriseRemove,
  WdfDevStatePnpInitQueryRemove,
  WdfDevStatePnpInitQueryRemoveCanceled,
  WdfDevStatePnpFdoRemoved,
  WdfDevStatePnpRemovedWaitForChildren,
  WdfDevStatePnpQueriedSurpriseRemove,
  WdfDevStatePnpSurpriseRemoveIoStarted,
  WdfDevStatePnpFailedPowerDown,
  WdfDevStatePnpFailedIoStarting,
  WdfDevStatePnpFailedOwnHardware,
  WdfDevStatePnpFailed,
  WdfDevStatePnpFailedSurpriseRemoved,
  WdfDevStatePnpFailedStarted,
  WdfDevStatePnpFailedWaitForRemove,
  WdfDevStatePnpFailedInit,
  WdfDevStatePnpPdoInitFailed,
  WdfDevStatePnpRestart,
  WdfDevStatePnpRestartReleaseHardware,
  WdfDevStatePnpRestartHardwareAvailable,
  WdfDevStatePnpPdoRestart,
  WdfDevStatePnpFinal,
  WdfDevStatePnpRemovedChildrenRemoved,
  WdfDevStatePnpQueryRemoveEnsureDeviceAwake,
  WdfDevStatePnpQueryStopEnsureDeviceAwake,
  WdfDevStatePnpFailedPowerPolicyRemoved,
  WdfDevStatePnpNull
} WDF_DEVICE_PNP_STATE, *PWDF_DEVICE_PNP_STATE;

Remarks

The WDF_DEVICE_PNP_STATE enumeration is used as a member type for the WDF_DEVICE_PNP_NOTIFICATION_DATA structure and as the return type for the WdfDeviceGetDevicePnpState method.

Requirements

   
Minimum KMDF version 1.0
Header wdfdevice.h (include Wdf.h)