IOCTL_VIDEO_QUERY_CURSOR_ATTR IOCTL (ntddvdeo.h)

Returns the size, position, and visibility of the cursor. Miniport drivers for VGA-compatible adapters are required to support this modal request; optional for other miniport drivers. The cursor position is specified by top and bottom scan lines, instead of row and column information, for VGA-compatible adapters.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

None

Output buffer

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

Status block

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

Requirements

Requirement Value
Header ntddvdeo.h

See also

STATUS_BLOCK