| Home
| Previous
| Next
| Up

GA_loadInGUI

Force the amount of display memory configured for the driver.

Declaration

ibool NAPI GA_loadInGUI(
N_int32 shared)

Prototype In

snap/graphics.h

Parameters

shared | True if the device driver should be loaded into shared memory

Return Value

True on success, false on error.

Description

This function loads the SNAP driver and forces the memory size for subsequently loaded drivers to the specified size in Kb. The method to detect the amount of installed display memory on a graphics card in many cases requires the state of the hardware to be changed temporarily so that the memory size can be detected. This will cause corruption if a driver is being loaded when native IHV drivers are already running (ie: as a DDC control panel utility, or a stereo game driver utility). This function is used to force the memory size and avoid the hardware state change so that loading a driver is completely non-destructive to the hardware state. The memory size should be obtained using the native OS system services (such as DirectX).

See Also

GA_loadDriver

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