EVT_WDF_IO_QUEUE_STATE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfio.h

EVT_WDF_IO_QUEUE_STATE EvtWdfIoQueueState;

VOID EvtWdfIoQueueState(
  [in] WDFQUEUE Queue,
  [in] WDFCONTEXT Context
)
{...}

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-wdfio-evt_wdf_io_queue_state)

EVT_WDF_IO_QUEUE_STATE callback function

Description

[Applies to KMDF and UMDF]

A driver's EvtIoQueueState event callback function delivers queue state information to the driver.

Parameters

Queue [in]

A handle to an I/O queue object.

Context [in]

Driver-defined context information that the driver specified when it registered the EvtIoQueueState callback function.

Remarks

Drivers can register an EvtIoQueueState callback function by specifying its address as input to WdfIoQueueStop, WdfIoQueueDrain, WdfIoQueuePurge, or WdfIoQueueReadyNotify. The framework calls the EvtIoQueueState callback function after the specified operation completes.

The EvtIoQueueState callback function can be called at IRQL <= DISPATCH_LEVEL, unless the ExecutionLevel member of the queue's WDF_OBJECT_ATTRIBUTES is set to WdfExecutionLevelPassive, in which case it is called at IRQL = PASSIVE_LEVEL. If the queue specifies WdfExecutionLevelInheritFromParent, the property can be inherited from the WDFDEVICE or WDFDRIVER's WDF_OBJECT_ATTRIBUTES.

If the IRQL is PASSIVE_LEVEL, the framework calls the callback function within a critical region.

See also

WDF_OBJECT_ATTRIBUTES

WdfIoQueueDrain

WdfIoQueuePurge

WdfIoQueueReadyNotify

WdfIoQueueStop