| Home
| Previous
| Next
| Up

GetVideoMode

Returns the currently active display mode number.

Declaration

N_uint32 NAPI GA_initFuncs::GetVideoMode(void)

Prototype In

snap/graphics.h

Return Value

Currently active display mode.

Description

This function returns the internal mode number for the currently active display mode. This is mainly useful for finding out what the current display mode is set to when applications are sharing an OS global device driver. Also note that when the SNAP driver is first loaded, it will attempt to interrogate the hardware registers to determine what the current text display mode is, and this function will return the id of the equivalent SNAP display mode.

See Also

SetVideoMode, GetVideoModeInfo, GetCustomVideoModeInfo

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com