boot3/Interfaces/CIncludes/SegLoad.h
Elliot Nunn 5b0f0cc134 Bring in CubeE sources
Resource forks are included only for .rsrc files. These are DeRezzed into their data fork. 'ckid' resources, from the Projector VCS, are not included.

The Tools directory, containing mostly junk, is also excluded.
2017-12-26 10:02:57 +08:00

66 lines
1.3 KiB
C

/************************************************************
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 <Types.h>
#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