GA_saveModeProfile

Save the mode profile information to disk for the specified driver

Declaration

ibool NAPI GA_saveModeProfile(
    GA_devCtx *dc,
    GA_modeProfile *profile)

Prototype In

snap/graphics.h

Parameters

dc

Device context to save mode profile information for

profile

Mode profile information block to save

 

Return Value

True on success, false on error (see GA_status for error info)

Description

This function saves the mode profile information to disk. The mode profile is the list of modes that the driver will report to user applications. You can modify this list to customise the set of display modes that the driver supports.

Note:    This function does not update the mode profile in the driver itself, but rather you should call SetModeProfile to update the internal mode profile first before saving the options to disk.

See Also

GetModeProfile, SetModeProfile, GA_saveOptions, GA_saveCRTCTimings, GA_loadModeProfile

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