Expand Minimize

DxgkDdiDispatchIoRequest routine

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

Syntax


PDXGKDDI_DISPATCH_IO_REQUEST DxgkDdiDispatchIoRequest;

NTSTATUS DxgkDdiDispatchIoRequest(
  _In_  const PVOID MiniportDeviceContext,
  _In_  ULONG VidPnSourceId,
  _In_  PVIDEO_REQUEST_PACKET VideoRequestPacket
)
{ ... }

Parameters

MiniportDeviceContext [in]

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 [in]

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

VideoRequestPacket [in]

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

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

Dispmprt.h (include Dispmprt.h)

IRQL

PASSIVE_LEVEL

See also

VIDEO_REQUEST_PACKET

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft