| Home
| Previous
| Next
| Up

GetUniqueFilename

Returns a unique filename for the chipset driver

Declaration

void NAPI GA_initFuncs::GetUniqueFilename(
char *filename,
int type)

Prototype In

snap/graphics.h

Parameters

filename | Place to store the unique filename
type | Type of of information being stored

Description

This function generates a unique filename for the current chipset configuration that is used to store POST register information and other configuration options to disk at runtime. Because the filename is unique, each card that is plugged into the system will have a different set of persistent POST register state and configuration values. The type parameter defines the type of information the unique filename will be used for, and presently supports the following:

type | Filename generated
1 | modes\%chipname%.%revid%
2 | options\%chipname%.%revid%
3 | %chipname%.lcd
4 | clock.%deviceindex%

This is an internal function and generally should not be called directly by the application program or shell driver.

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