Added explanation documents.

This commit is contained in:
Marcio T
2021-11-26 14:30:41 -07:00
parent d861f94fbe
commit 7a3d4c4b49
35 changed files with 1432 additions and 22 deletions

View File

@@ -0,0 +1,27 @@
/*
* File Utilities (System 7 and above)
*
* by Thomas Tempelmann, macdev@tempel.org
*/
#include <Devices.h>
#pragma push
#pragma cplusplus on
Boolean FSpIsAlias (FSSpec &spec);
OSErr FSpResolveAlias (FSSpec &spec); // L<>st ggf. Aliase auf
DrvQElPtr FindDrvQ (short drv);
short FindVolByDriveNum (short drvNum);
OSErr GetSysVolume (short *vRefNum); // gets the boot volume
OSErr FindInFolderByCreator (short vRefNum, long dirID, OSType creator, OSType fileType, FSSpec *foundSpec);
OSErr FindOnDiskByCreator (short vRefNum, OSType creator, OSType fileType, FSSpec *foundSpec);
OSErr FindOpenFileByTypeAndCreator (OSType type, OSType creator, FSSpec *itsSpec);
#pragma pop
// EOF