IOCTL_VIDEO_QUERY_CURRENT_MODE IOCTL (ntddvdeo.h)

Returns information about the current adapter mode. Miniport drivers are required to support this modal request.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

None

Output buffer

The miniport driver returns the mode information in a VIDEO_MODE_INFORMATION structure in the VRP OutputBuffer.

Status block

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

Requirements

Requirement Value
Header ntddvdeo.h

See also

STATUS_BLOCK

VIDEO_MODE_INFORMATION