GA_disableVBEMode

Disable a display mode for use by VESA VBE applications.

Declaration

ibool NAPI GA_disableVBEMode(
    GA_devCtx *dc,
    N_int32 xRes,
    N_int32 yRes,
    N_int32 bits,
    N_int32 saveToDisk)

Prototype In

snap/graphics.h

Parameters

dc

Device context for driver to add mode to

xRes

X resolution of the mode to add

yRes

Y resolution of the mode to add

bits

Bits per pixel for the mode to add

saveToDisk

True if the mode profile should be saved to disk

 

Return Value

True on success, or false if the mode could not be deleted.

Description

This function is used to disable a specific display mode for use by VESA VBE applications in a DOS box environment.

Unless you pass a value of true to the saveToDisk parameter, the changes will only affect the currently loaded copy of SNAP and will not affect new versions of SNAP that are loaded from disk. To make the change permanent, you need to set this parameter to true.

See Also

GA_enableVBEMode, GA_addMode, GA_delMode

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