// wudfddi_types.h
typedef enum _WDF_PNP_STATE {
WdfPnpStateInvalid,
WdfPnpStateDisabled,
WdfPnpStateFailed,
WdfPnpStateRemoved,
WdfPnpStateResourcesChanged,
WdfPnpStateDontDisplayInUI,
WdfPnpStateNotDisableable,
WdfPnpStateMaximum
} WDF_PNP_STATE;
View the official Windows Driver Kit DDI referenceNo description available.
[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]
The WDF_PNP_STATE enumeration contains values that identify the status of Plug and Play (PnP) for a device.
WdfPnpStateInvalidThe PnP state for the device is invalid.
WdfPnpStateDisabledThe device is disabled.
WdfPnpStateFailedThe device is present but has failed.
WdfPnpStateRemovedThe device has been removed.
WdfPnpStateResourcesChangedThe device's resource requirements have changed.
WdfPnpStateDontDisplayInUIThe device is hidden (not displayed) in Device Manager.
WdfPnpStateNotDisableableThe device cannot be disabled.
WdfPnpStateMaximumValid enumeration values were exceeded.
A UMDF driver supplies one of the values of WDF_PNP_STATE to the IWDFDevice::GetPnpState or IWDFDevice::SetPnpState method to identify the PnP property to retrieve or set status for.