IOCTL_VIDEO_QUERY_CURSOR_POSITION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddvdeo.h

// CTL_CODE(0x0023, 0x10d, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_VIDEO_QUERY_CURSOR_POSITION 0x00230434
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-ntddvdeo-ioctl_video_query_cursor_position)

IOCTL_VIDEO_QUERY_CURSOR_POSITION IOCTL

Description

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.

Parameters

Major code

Input buffer

None

Input buffer length

Output buffer

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

Output buffer length

Input/output buffer

Input/output buffer length

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.

See also

STATUS_BLOCK