High-Level File Manager Routines
Version 7.0 introduces three kinds of high-level File Manager routines: • functions that identify files with the new FSSpec record, introduced in version 7.0, including a new function that ex changes the data in two
files
• a new set of three functions for opening only the data fork of a file, to
be used instead of the earlier function FSOpen • functions that identify files using the three parameters vRefNum, dirID, and fileName, introduced with the Hierarchical File System
Most of the new functions in version 7.0 are adaptations of functions
introduced either in the original Macintosh File System or with the
Hierarchical File System. Modified functions bear the same root name as the
original functions. The prefix FSp identifies functions modified to accommodate
FSSpec records; the prefix H identifies functions modified to accommodate directory IDs for compatibility with HFS.
Routines That Use FSSpec Records
Version 7.0 of the system software introduces the FSSpec record, a simple, standard way to specify the name and location of a file or directory. Other parts
of the Macintosh system software now identify files and directories with
• a function for converting other file specifications to FSSpec records records instead of the parameters vRefNum, dirID, and fileName accepts file specifications in a pair of FSSpec records.