AGFileGetDBType
Use theAGFileGetDBTypefunction to determine the type of a guide file.
OSErr AGFileGetDBType (AGFileFSSpecType *fileSpec, AGFileDBType *databaseType);
- fileSpe
c- A pointer to the file system specification record for the guide file.
- databaseType
- A pointer to the type of the guide file. The
AGFileGetDBTypefunctions returns, through this parameter, a value that indicates the guide file type. The guide file type is indicated by one of these constants:enum { kAGFileDBTypeHelp = 1,/*Help*/ kAGFileDBTypeTutorial = 2,/*Tutorial*/ kAGFileDBTypeShortcuts = 3,/*Shortcuts*/ kAGFileDBTypeAbout = 4,/*About*/ kAGFileDBTypeOther = 8 /*Other*/ };DESCRIPTION
TheAGFileGetDBTypefunction returns, in itsdatabaseTypeparameter, the type of the specified guide file.RESULT CODES
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help