Important: The information in this document is obsolete and should not be used for new development.
AGFileGetDBVersion
Use theAGFileGetDBVersionfunction to obtain the version information of a guide file.
OSErr AGFileGetDBVersion (AGFileFSSpecType *fileSpec, AGFileMajorRevType *majorRev, AGFileMinorRevType *minorRev);
- fileSpe
c- A pointer to the file system specification record for the guide file.
- majorRev
- A pointer to a short integer. On return, this parameter refers to the major version designation for the guide file specified in the
fileSpecparameter.- minorRev
- A pointer to a short integer. On return, this parameter refers to the minor version designation for the guide file specified in the
fileSpecparameter.DESCRIPTION
TheAGFileGetDBVersionfunction returns in its parameters--majorRevandminorRev--the major and minor versions of the guide file.RESULT CODES