// dispmprt.h
DXGKDDI_DISPATCH_IO_REQUEST DxgkddiDispatchIoRequest;
NTSTATUS DxgkddiDispatchIoRequest(
[in] IN_CONST_PVOID MiniportDeviceContext,
[in] IN_ULONG VidPnSourceId,
[in] IN_PVIDEO_REQUEST_PACKET VideoRequestPacket
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DxgkDdiDispatchIoRequest function handles I/O control (IOCTL) requests.
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.
DxgkDdiDispatchIoRequest returns STATUS_SUCCESS if it succeeds; otherwise it returns one of the error codes defined in Ntstatus.h.
The DxgkDdiDispatchIoRequest function should be made pageable.