C++
virtual void hardwareAcceleratedDrivers( ACHAR * pszPath, int nPathStrLen, ACHAR ** pszDrivers, int nDrivers, int nDriverStrLen ) = 0;
Description
This function returns the path where the hardware accelerated drivers are found, and an array containing the names of the available drivers.
pszPath returns the path to the drivers. This is the AcGs graphics system's default driver path. nPathStrLen must be <= _MAX_PATH.
pszDrivers is an array of type char*. Each item returned in pszDrivers contains the file name and file extension of a driver. nDrivers indicates the number of strings allocated in pszDrivers. The number of entries in the array should match the number of available hardware accelerated drivers. Use AcGsConfig::numHardwareAcceleratedDrivers() to determine the number of available drivers. Memory should be allocated so that each entry is the size of the maximum allowable file name length for the system.
Parameters
Parameters | Description |
---|---|
pszPath | Output buffer to contain the new driver path |
nPathStrLen | Input size of the buffer represented by pszPath |
pszDrivers | Array containing the names of the current hardware accelerated drivers; each entry should be allocated the maximum file name length allowed by the system |
nDrivers | Input number of entries in pszDrivers; can be obtained by a call to numHardwareAcceleratedDrivers() |
nDriverStrLen | The size of buffer assigned for driver name |
Links
Previous Declaration
virtual void hardwareAcceleratedDrivers(
ACHAR * pszPath,
int nPathStrLen,
ACHAR ** pszDrivers,
int nDrivers
) = 0;