[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
_gModeGet()
Retrieve parameters for the current video mode
------------------------------------------------------------------------------
C Prototype
#include "llibg.api"
ERRCODE _gModeGet(
int iMode,
LLG_LPVIDEOMODE lpVideoModeGet
)
Arguments
iMode is the video mode, which you specify using one of the
following values:
Video Mode Constants
------------------------------------------------------------------------
Constant Video Mode
------------------------------------------------------------------------
LLG_VIDEO_TXT Text
LLG_VIDEO_VESA_80_60 VESA text 80 x 60
LLG_VIDEO_VESA_132_25 VESA text 132 x 25
LLG_VIDEO_VESA_132_43 VESA text 132 x 43
LLG_VIDEO_VESA_132_50 VESA text 132 x 50
LLG_VIDEO_VESA_132_60 VESA text 132 x 60
LLG_VIDEO_VESA_800_592_16 VESA 800 x 592 x 16 colors
LLG_VIDEO_VESA_1024_768_16 VESA 1024 x 768 x 16 colors
LLG_VIDEO_VESA_1280_1024_16 VESA 1280 x 1024 x 16 colors
LLG_VIDEO_VESA_640_480_256 VESA 640 x 480 x 256 colors
LLG_VIDEO_VESA_800_592_256 VESA 800 x 592 x 256 colors
LLG_VIDEO_VESA_1024_768_256 VESA 1024 x 768 x 256 colors
LLG_VIDEO_VESA_1280_1024_256 VESA 1280 x 1024 x 256 colors
LLG_VIDEO_VESA_640_480_32K VESA 640 x 480 x 32 K colors
LLG_VIDEO_VESA_800_592_32K VESA 800 x 592 x 32 K colors
LLG_VIDEO_VESA_1024_768_32K VESA 1024 x 768 x 32 K colors
LLG_VIDEO_VESA_1280_1024_32K VESA 1280 x 1024 x 32 K colors
LLG_VIDEO_VESA_640_480_64K VESA 640 x 480 x 64 K colors
LLG_VIDEO_VESA_800_592_64K VESA 800 x 592 x 64 K colors
LLG_VIDEO_VESA_1024_768_64K VESA 1024 x 768 x 64 K colors
LLG_VIDEO_VESA_1280_1024_64K VESA 1280 x 1024 x 64 K colors
LLG_VIDEO_VESA_640_480_16M VESA 640 x 480 x 16 M colors
LLG_VIDEO_VESA_800_592_16M VESA 800 x 592 x 16 M colors
LLG_VIDEO_VESA_1024_768_16M VESA 1024 x 768 x 16 M colors
LLG_VIDEO_VESA_1280_1024_16M VESA 1280 x 1024 x 16 M colors
LLG_VIDEO_VGA_640_480_16 VGA 640 x 480 x 16 colors
------------------------------------------------------------------------
lpVideoModeGet is a pointer to an LLG_VIDEOMODE structure that you
must allocate prior to calling this function. _gModeGet() writes
information regarding the specified video mode to this structure.
Returns
SUCCESS if successful; otherwise, an error code.
Files Library is LLIBG.LIB, header file is Llibg.api.
See Also:
_gModeSet()
LLG_VIDEOMODE
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson