IQueueCallbackDefaultIoHandler::OnDefaultIoHandler method (wudfddi.h)

[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]

The OnDefaultIoHandler method handles I/O requests that no other method is registered to handle.

Syntax

void OnDefaultIoHandler(
  [in] IWDFIoQueue   *pWdfQueue,
  [in] IWDFIoRequest *pWdfRequest
);

Parameters

[in] pWdfQueue

A pointer to the IWDFIoQueue interface for the I/O queue object that the default I/O request arrives from.

[in] pWdfRequest

A pointer to the IWDFIoRequest interface that represents the framework request object.

Return value

None

Remarks

A driver registers the IQueueCallbackDefaultIoHandler interface when the driver calls the IWDFDevice::CreateIoQueue method to create an I/O queue or to configure the default I/O queue.

Requirements

Requirement Value
Target Platform Windows
Header wudfddi.h (include Wudfddi.h)

See also

IQueueCallbackDefaultIoHandler

IWDFDevice::CreateIoQueue

IWDFIoQueue

IWDFIoRequest