Important: The information in this document is obsolete and should not be used for new development.
AGFileGetDBVersion
Use theAGFileGetDBVersion
function 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
fileSpec
parameter.- minorRev
- A pointer to a short integer. On return, this parameter refers to the minor version designation for the guide file specified in the
fileSpec
parameter.DESCRIPTION
TheAGFileGetDBVersion
function returns in its parameters--majorRev
andminorRev
--the major and minor versions of the guide file.RESULT CODES