IOCTL_VIDEO_QUERY_AVAIL_MODES IOCTL

Returns information about each video mode supported by the adapter. Miniport drivers are required to support this nonmodal request.

Major Code

IRP_MJ_DEVICE_CONTROL

Input Buffer

None

Output Buffer

The miniport driver returns an array of VIDEO_MODE_INFORMATION structures in the VRP OutputBuffer.

Status Block

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.

Requirements

   
Header ntddvdeo.h

See Also

STATUS_BLOCK

VIDEO_MODE_INFORMATION