// ntddvdeo.h
typedef struct _VIDEO_NUM_MODES {
ULONG NumModes;
ULONG ModeInformationLength;
} VIDEO_NUM_MODES, *PVIDEO_NUM_MODES;
View the official Windows Driver Kit DDI referenceNo description available.
The VIDEO_NUM_MODES structure contains the number of modes supported by a video adapter, and the size of the structure that describes each mode.
NumModesSpecifies the number of modes supported by the device.
ModeInformationLengthIs the length, in bytes, of the VIDEO_MODE_INFORMATION structure that describes each of the modes supported by the device.
The miniport driver returns a VIDEO_NUM_MODES structure in response to an IOCTL_VIDEO_QUERY_NUM_AVAIL_MODES request.
IOCTL_VIDEO_QUERY_NUM_AVAIL_MODES