IOCTL_VIDEO_QUERY_NUM_AVAIL_MODES - NtDoc

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

// CTL_CODE(0x0023, 0x101, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_VIDEO_QUERY_NUM_AVAIL_MODES 0x00230404
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

IOCTL_VIDEO_QUERY_NUM_AVAIL_MODES IOCTL

Description

Returns the number of video modes supported by the adapter and the size in bytes of the video mode information, which can be used to allocate a buffer for an IOCTL_VIDEO_QUERY_AVAIL_MODES request. Miniport drivers are required to support this nonmodal request.

Parameters

Major code

Input buffer

None

Input buffer length

Output buffer

The miniport driver returns the number of modes in a VIDEO_NUM_MODES structure in the VRP OutputBuffer.

Output buffer length

Input/output buffer

Input/output buffer length

Status block

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

See also

IOCTL_VIDEO_QUERY_AVAIL_MODES

STATUS_BLOCK

VIDEO_NUM_MODES