IoInvalidateDeviceState function (wdm.h)
The IoInvalidateDeviceState routine notifies the PnP manager that some aspect of the PnP state of a device has changed.
void IoInvalidateDeviceState( [in] PDEVICE_OBJECT PhysicalDeviceObject );
Pointer to the PDO for the device.
Drivers call this routine to indicate that something has changed with respect to one of the following aspects of a device's PnP state:
For descriptions of the preceding constants, see PNP_DEVICE_STATE.
In response to this routine, the PnP manager sends an IRP_MN_QUERY_PNP_DEVICE_STATE request to the device stack, to determine the current PnP state of the device.
|Minimum supported client||Available starting with Windows 2000.|
|Header||wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)|