GetVideoModeData function
Get the specifications for a video mode.
Declaration
function GetVideoModeData(Index: Word; var Data: TVideoMode): BooleanDescription
GetVideoModeData returns the characteristics of the
Index-th
video mode in
Data.
Index is zero based, and has a maximum value of
GetVideoModeCount-1. If the current driver does not support setting of
modes (
GetVideoModeCount=1) and
Index is zero, the current mode
is returned.
The function returns True if the mode data was retrieved successfully,
False otherwise.
For an example, see GetVideoModeCount.
Errors
In case
Index has a wrong value,
False is returned.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
