| Home
| Previous
| Next
| Up

GetCurrentVideoModeInfo

Returns information about the current display mode.

Declaration

void NAPI GA_initFuncs::GetCurrentVideoModeInfo(
GA_modeInfo *modeInfo)

Prototype In

snap/graphics.h

Parameters

modeInfo | Place to store the current mode information (GA_modeInfo)

Description

This function returns complete information about the currently active SNAP display mode. This function fills the GA_modeInfo structure with detailed information about the current mode, and will include correct information about the virtual resolution, scanline width etc. Hence the values returned here will accurately reflect any changes made with the call to SetVideoMode so the mode information may be slightly different to what you would get if you called GetVideoModeInfo for the mode number returned by GetVideoMode.

Note: The calling code must first ensure that the dwSize member of the GA_modeInfo structure is set to the size of the structure in bytes before calling this function. Only the number of bytes set in the dwSize member will be copied into the callers structure.

See Also

GetVideoModeInfo, GetVideoModeInfoExt, GetCustomVideoModeInfo, GetCustomVideoModeInfoExt, GetCurrentRefreshRate, SetVideoMode

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