// video.h
PVIDEO_HW_START_IO PvideoHwStartIo;
BOOLEAN PvideoHwStartIo(
PVOID HwDeviceExtension,
PVIDEO_REQUEST_PACKET RequestPacket
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
HwVidStartIO processes the specified VRP.
HwDeviceExtensionPointer to the miniport driver's per-adapter storage area. For more information, see Device Extensions.
RequestPacketPointer to a VIDEO_REQUEST_PACKET structure, which contains all the parameters originally passed to EngDeviceIoControl.
HwVidStartIO must return TRUE, indicating that it has completed the request.
Every video miniport driver must have a HwVidStartIO function.
The video port driver calls HwVidStartIO in response to each GDI EngDeviceIoControl request, which originates in the corresponding display driver. When HwVidStartIO is called, the miniport driver owns the input video request packet until it completes the requested operation. HwVidStartIO must do the following:
The system video port driver serializes all requests. A miniport driver need not perform any serialization of its own unless it has a HwVidInterrupt function.
However, every miniport driver's HwVidStartIO function must complete each requested operation or set an appropriate error in the VRP's StatusBlock before it returns control.
HwVidStartIO should be made pageable.
Video Miniport Driver I/O Control Codes