/************************************************************ Created: Saturday, July 27, 1991 at 6:41 PM SegLoad.h C Interface to the Macintosh Libraries Copyright Apple Computer, Inc. 1985-1991 All rights reserved This file is used in these builds: Mac32 BigBang Sys606 Change History (most recent first): <5> 7/31/91 JL Updated Copyright. <4> 1/27/91 LN Checked in Database generate file from DSG. <3> 11/7/90 JL Changed all #defines to anonymous enums. To Do: ************************************************************/ #ifndef __SEGLOAD__ #define __SEGLOAD__ #ifndef __TYPES__ #include #endif enum { appOpen = 0, /*Open the Document (s)*/ appPrint = 1 /*Print the Document (s)*/ }; struct AppFile { short vRefNum; OSType fType; short versNum; /*versNum in high byte*/ Str255 fName; }; typedef struct AppFile AppFile; #ifdef __cplusplus extern "C" { #endif pascal void UnloadSeg(void *routineAddr) = 0xA9F1; pascal void ExitToShell(void) = 0xA9F4; pascal void GetAppParms(Str255 apName,short *apRefNum,Handle *apParam) = 0xA9F5; pascal void CountAppFiles(short *message,short *count); pascal void GetAppFiles(short index,AppFile *theFile); pascal void ClrAppFiles(short index); void getappparms(char *apName,short *apRefNum,Handle *apParam); #ifdef __cplusplus } #endif #endif