Important: The information in this document is obsolete and should not be used for new development.
AGGetFSSpec
Use theAGGetFSSpecfunction to access the file system specification record of an open guide file.
AGErr AGGetFSSpec(AGRefNum refNum, FSSpec *fileSpec);
- refNum
- The reference number for a guide file or the constant
kAGFrontDatabaseto specify the active guide file.- fileSpec
- A pointer to a file system specification record. The
AGGetFSSpecfunction returns, through this parameter, the guide file's file system specification record.DESCRIPTION
TheAGGetFSSpecfunction returns (through thefileSpecparameter) the file system specification record for the guide file specified in therefNumparameter.RESULT CODES
noErr 0 No error kAGErrDatabaseNotOpen -2957 Guide file is not open SEE ALSO
To get the file system specification record for any guide file, use theAGFileGetIndDBfunction, as described on page 9-10.