[Overview][Constants][Types][Procedures and functions][Variables] |
Get the specifications for a video mode
Source position: videoh.inc line 150
function GetVideoModeData( |
Index: Word; |
var Data: TVideoMode |
):Boolean; |
GetVideoModeDatareturns the characteristics of the Index-th video mode in Data. Indexis zero based, and has a maximum value of GetVideoModeCount-1. If the current driver does not support setting of modes (GetVideoModeCount=1) and Indexis zero, the current mode is returned.
The function returns Trueif the mode data was retrieved succesfully, Falseotherwise.
For an example, see GetVideoModeCount.
In case Indexhas a wrong value, Falseis returned.
|
Get the number of video modes supported by the driver. |
|
|
Set current video mode. |
|
|
Return current video mode |