Index Index for
Section 9
Index Alphabetical
listing for L
Bottom of page Bottom of
page

LS_GetVideoMode(9u)

NAME

LS_GetVideoMode - Graphics: Determines the video mode for the screen

SYNOPSIS

short LS_GetVideoMode( ScreenPtr pScreen, ValidModePtr pModes );

ARGUMENTS

pScreen Specifies a pointer to the ScreenRec structure for the screen. pModes Specifies the valid modes for the screen.

DESCRIPTION

The LS_GetVideoMode routine determines the video modes that the screen should use, based on any command line arguments that the user specified and on the valid modes for the screen. The routine returns the valid video mode that most closely matches the modes that the user requested. If the user does not specify any command line arguments, the routine returns the default video mode.

RETURN VALUE

The LS_GetVideoMode routine returns an index into the list of valid video modes, specifying the video mode that the screen should use.

Index Index for
Section 9
Index Alphabetical
listing for L
Top of page Top of
page