[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Get the specifications for a video mode
Source position: videoh.inc line 150
function GetVideoModeData( |
Index: Word; |
var Data: TVideoMode |
):Boolean; |
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 succesfully, False otherwise.
For an example, see GetVideoModeCount.
In case Index has a wrong value, False is returned.
|
Get the number of video modes supported by the driver. |
|
|
Set current video mode. |
|
|
Return current video mode |
lazarus-ccr.sourceforge.net |