The WdfDeviceInitSetPowerInrush method informs the power manager that the specified device requires an inrush of current when it starts.
VOID WdfDeviceInitSetPowerInrush( [in] PWDFDEVICE_INIT DeviceInit );
- DeviceInit [in]
A caller-supplied pointer to a WDFDEVICE_INIT structure.
To avoid overloading the system's power supply, the system starts devices that require an inrush of current one at a time.
Calling WdfDeviceInitSetPowerInrush from a filter driver has no effect. For filter drivers, the framework uses the setting that the next-lower driver in the driver stack specifies.
The following code example informs the power manager that a device requires an inrush of current when it starts.
|Available in version 1.0 and later versions of KMDF.|
|Wdf<MajorVersionNumber>000.sys (see Framework Library Versions.)|