IOCTL_VIDEO_QUERY_CURSOR_POSITION IOCTL

Returns the current cursor position (row and column). Miniport drivers for VGA-compatible adapters are required to support this modal request; optional for other miniport drivers.

Major Code

IRP_MJ_DEVICE_CONTROL

Input Buffer

None

Output Buffer

The miniport driver returns a VIDEO_CURSOR_POSITION structure in the VRP OutputBuffer.

Status Block

If the miniport driver successfully returns the cursor position, it sets the Information member of the STATUS_BLOCK structure to sizeof(VIDEO_CURSOR_POSITION); otherwise, the miniport driver sets this member to zero.

Requirements

   
Header ntddvdeo.h

See Also

STATUS_BLOCK