IQueueCallbackStateChange::OnStateChange method

[Applies to UMDF 1.x only]

The OnStateChange method is called when the state of the I/O queue object changes.

Syntax


void OnStateChange(
  [in] IWDFIoQueue        *pWdfQueue,
  [in] WDF_IO_QUEUE_STATE QueueState
);

Parameters

pWdfQueue [in]

A pointer to the IWDFIoQueue interface for the I/O queue object whose state changes.

QueueState [in]

A valid bitwise OR of WDF_IO_QUEUE_STATE-typed values that indicates status for the queue.

Return value

None

Remarks

A driver registers the IQueueCallbackStateChange interface when the driver calls the IWDFDevice::CreateIoQueue method to create an I/O queue or to configure the default I/O queue. The driver can optionally register the IQueueCallbackStateChange interface only for a manual queue. The driver must not register IQueueCallbackStateChange for a sequential or a parallel queue.

Requirements

Header

Wudfddi.h (include Wudfddi.h)

See also

IQueueCallbackStateChange
IWDFDevice::CreateIoQueue
IWDFIoQueue
WDF_IO_QUEUE_STATE

 

 

Send comments about this topic to Microsoft

Show: