|
|
|
|
MGL_availablePages
Determine the number of available video pages for a specific graphics mode.
Declaration
int MGLAPI MGL_availablePages(
int mode)
Prototype In
mgraph.h
Parameters
mode |
MGL mode number to query |
Return Value
Number of available display pages for mode, -1 for invalid mode number.
Description
Returns the number of pages of physical display pages available for a specific MGL graphics mode. You may call this routine before creating a display device context with MGL_createDisplayDC, but you cannot call this function until after you have called MGL_init. This function allows you to ignore display modes that do not have the required number of hardware display pages that your application requires.
Note: If the hardware has not been detected when this call is made, the MGL will automatically detect the installed hardware the first time this function is called.
See Also
MGL_init, MGL_modeResolution, MGL_findMode, MGL_addCustomMode, MGL_createDisplayDC
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com