// ntddvdeo.h
// CTL_CODE(0x0023, 0x100, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_VIDEO_QUERY_AVAIL_MODES 0x00230400
View the official Windows Driver Kit DDI referenceNo description available.
Returns information about each video mode supported by the adapter. Miniport drivers are required to support this nonmodal request.
None
The miniport driver returns an array of VIDEO_MODE_INFORMATION structures in the VRP OutputBuffer.
If the miniport driver successfully returns the available modes, it sets the Information member of the STATUS_BLOCK structure to (sizeof(VIDEO_MODE_INFORMATION) * NumberOfSupportedModes); otherwise, the miniport driver sets this member to zero.