DXGKDDI_DISPATCH_IO_REQUEST callback function

The DxgkDdiDispatchIoRequest function handles I/O control (IOCTL) requests.

Syntax

DXGKDDI_DISPATCH_IO_REQUEST DxgkddiDispatchIoRequest;

NTSTATUS DxgkddiDispatchIoRequest(
  IN_CONST_PVOID MiniportDeviceContext,
  IN_ULONG VidPnSourceId,
  IN_PVIDEO_REQUEST_PACKET VideoRequestPacket
)
{...}

Parameters

MiniportDeviceContext

A handle to a context block associated with a display adapter. The display miniport driver's DxgkDdiAddDevice function previously provided this handle to the DirectX graphics kernel subsystem.

VidPnSourceId

An integer that identifies the video present source associated with the I/O request.

VideoRequestPacket

A pointer to a VIDEO_REQUEST_PACKET structure that describes the I/O request.

Return Value

DxgkDdiDispatchIoRequest returns STATUS_SUCCESS if it succeeds; otherwise it returns one of the error codes defined in Ntstatus.h.

Remarks

The DxgkDdiDispatchIoRequest function should be made pageable.

Requirements

   
Windows version Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header dispmprt.h
IRQL PASSIVE_LEVEL

See Also

VIDEO_REQUEST_PACKET