WdfDeviceResumeIdle method
[Applies to KMDF and UMDF]
The WdfDeviceResumeIdle method informs the framework that the specified device is not in use and can be placed in a device low-power state if it remains idle.
Syntax
VOID WdfDeviceResumeIdle(
[in] WDFDEVICE Device
);
Parameters
- Device [in]
-
A handle to a framework device object.
Return value
None.
A bug check occurs if the driver supplies an invalid object handle.
Remarks
Every call to WdfDeviceStopIdle must eventually be followed by a call to WdfDeviceResumeIdle, or else the device will never return to a low-power state if it again becomes idle.
Examples
The following code example informs the framework that the specified device is not in use and can be placed in a device low-power state if it remains idle.
WdfDeviceResumeIdle(device);
Requirements
Minimum KMDF version | 1.0 |
---|---|
Minimum UMDF version | 2.0 |
Header |
|
Library |
|
IRQL | <= DISPATCH_LEVEL |
DDI compliance rules | DriverCreate, KmdfIrql, KmdfIrql2 |
Show: