DXGKDDI_DISPATCH_IO_REQUEST callback function (dispmprt.h)
The DxgkDdiDispatchIoRequest function handles I/O control (IOCTL) requests.
Syntax
DXGKDDI_DISPATCH_IO_REQUEST DxgkddiDispatchIoRequest;
NTSTATUS DxgkddiDispatchIoRequest(
[in] IN_CONST_PVOID MiniportDeviceContext,
[in] IN_ULONG VidPnSourceId,
[in] IN_PVIDEO_REQUEST_PACKET VideoRequestPacket
)
{...}
Parameters
[in] 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.
[in] VidPnSourceId
An integer that identifies the video present source associated with the I/O request.
[in] 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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Target Platform | Desktop |
Header | dispmprt.h |
IRQL | PASSIVE_LEVEL |