// ntddvdeo.h
// CTL_CODE(0x0023, 0x102, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_VIDEO_QUERY_CURRENT_MODE 0x00230408
View the official Windows Driver Kit DDI referenceNo description available.
Returns information about the current adapter mode. Miniport drivers are required to support this modal request.
None
The miniport driver returns the mode information in a VIDEO_MODE_INFORMATION structure in the VRP OutputBuffer.
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.