Bewerken

Delen via


EVT_WDF_IO_QUEUE_IO_RESUME callback function (wdfio.h)

[Applies to KMDF and UMDF]

A driver's EvtIoResume event callback function resumes processing a specified I/O request after the underlying device returns to its working (D0) power state.

Syntax

EVT_WDF_IO_QUEUE_IO_RESUME EvtWdfIoQueueIoResume;

void EvtWdfIoQueueIoResume(
  [in] WDFQUEUE Queue,
  [in] WDFREQUEST Request
)
{...}

Parameters

[in] Queue

A handle to the framework queue object that is associated with the I/O request.

[in] Request

A handle to a framework request object.

Return value

None

Remarks

A driver registers an EvtIoResume callback function when it calls the WdfIoQueueCreate method. For more information about calling WdfIoQueueCreate, see Creating I/O Queues.

A driver registers EvtIoResume only for use with a power-managed queue.

The framework calls the driver's EvtIoResume callback function only if the driver's EvtIoStop callback function previously called WdfRequestStopAcknowledge with the Requeue parameter set to FALSE.

For more information about the EvtIoResume callback function, see Using Power-Managed I/O Queues.

This callback function can be called at IRQL <= DISPATCH_LEVEL, unless the ExecutionLevel member of the device or driver's WDF_OBJECT_ATTRIBUTES structure is set to WdfExecutionLevelPassive. You should not make this callback function pageable.

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.0
Minimum UMDF version 2.0
Header wdfio.h (include Wdf.h)
IRQL <= DISPATCH_LEVEL (see Remarks section)

See also

WDF_OBJECT_ATTRIBUTES

WdfIoQueueCreate