43 #if PRAGMA_STRUCT_ALIGN
44 #pragma options align = mac68k
45 #elif PRAGMA_STRUCT_PACKPUSH
47 #elif PRAGMA_STRUCT_PACK
65 kExtensionTableVersion =
72 extNotificationBeforeFirst = 0,
95 unsigned short ioFlStBlk;
98 unsigned short ioFlRStBlk;
101 unsigned long ioFlCrDat;
102 unsigned long ioFlMdDat;
108 UInt32 extTableHeaderSize;
127 typedef CALLBACK_API(
void, ExtensionNotificationProcPtr)(
129 typedef CALLBACK_API(
void, ExtensionTableHandlerProcPtr)(
131 typedef STACK_UPP_TYPE(ExtensionNotificationProcPtr) ExtensionNotificationUPP;
132 typedef STACK_UPP_TYPE(ExtensionTableHandlerProcPtr) ExtensionTableHandlerUPP;
133 #if CALL_NOT_IN_CARBON
142 ExtensionNotificationUPP
144 #if !OPAQUE_UPP_TYPES
147 uppExtensionNotificationProcInfo = 0x00000FC0
150 inline ExtensionNotificationUPP
154 (ProcPtr)(userRoutine), uppExtensionNotificationProcInfo,
155 GetCurrentArchitecture());
158 #define NewExtensionNotificationUPP(userRoutine) \
159 (ExtensionNotificationUPP) NewRoutineDescriptor( \
160 (ProcPtr)(userRoutine), uppExtensionNotificationProcInfo, \
161 GetCurrentArchitecture())
173 ExtensionTableHandlerUPP
175 #if !OPAQUE_UPP_TYPES
178 uppExtensionTableHandlerProcInfo = 0x00000FC0
181 inline ExtensionTableHandlerUPP
185 (ProcPtr)(userRoutine), uppExtensionTableHandlerProcInfo,
186 GetCurrentArchitecture());
189 #define NewExtensionTableHandlerUPP(userRoutine) \
190 (ExtensionTableHandlerUPP) NewRoutineDescriptor( \
191 (ProcPtr)(userRoutine), uppExtensionTableHandlerProcInfo, \
192 GetCurrentArchitecture())
206 #if !OPAQUE_UPP_TYPES
213 #define DisposeExtensionNotificationUPP(userUPP) \
214 DisposeRoutineDescriptor(userUPP)
228 #if !OPAQUE_UPP_TYPES
235 #define DisposeExtensionTableHandlerUPP(userUPP) \
236 DisposeRoutineDescriptor(userUPP)
251 ExtensionNotificationUPP userUPP);
252 #if !OPAQUE_UPP_TYPES
256 ExtensionNotificationUPP userUPP)
258 CALL_THREE_PARAMETER_UPP(userUPP, uppExtensionNotificationProcInfo, message,
262 #define InvokeExtensionNotificationUPP(message, param, extElement, userUPP) \
263 CALL_THREE_PARAMETER_UPP((userUPP), uppExtensionNotificationProcInfo, \
264 (message), (param), (extElement))
279 ExtensionTableHandlerUPP userUPP);
280 #if !OPAQUE_UPP_TYPES
284 ExtensionTableHandlerUPP userUPP)
286 CALL_THREE_PARAMETER_UPP(userUPP, uppExtensionTableHandlerProcInfo, message,
287 param, extTableHandle);
290 #define InvokeExtensionTableHandlerUPP(message, param, extTableHandle, \
292 CALL_THREE_PARAMETER_UPP((userUPP), uppExtensionTableHandlerProcInfo, \
293 (message), (param), (extTableHandle))
299 #if CALL_NOT_IN_CARBON || OLDROUTINENAMES
301 #define NewExtensionNotificationProc(userRoutine) \
302 NewExtensionNotificationUPP(userRoutine)
303 #define NewExtensionTableHandlerProc(userRoutine) \
304 NewExtensionTableHandlerUPP(userRoutine)
305 #define CallExtensionNotificationProc(userRoutine, message, param, extElement) \
306 InvokeExtensionNotificationUPP(message, param, extElement, userRoutine)
307 #define CallExtensionTableHandlerProc(userRoutine, message, param, \
309 InvokeExtensionTableHandlerUPP(message, param, extTableHandle, userRoutine)
316 SignedByte sdExtDevID;
317 SignedByte sdPartition;
318 SignedByte sdSlotNum;
319 SignedByte sdSRsrcID;
323 SignedByte sdReserved1;
324 SignedByte sdReserved2;
333 SignedByte sdsResource;
339 SignedByte sdReserved;
344 #if CALL_NOT_IN_CARBON
378 #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
379 #pragma parameter GetDefaultStartup(__A0)
416 #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
417 #pragma parameter SetDefaultStartup(__A0)
443 #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
444 #pragma parameter GetVideoDefault(__A0)
467 #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
468 #pragma parameter SetVideoDefault(__A0)
494 #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
495 #pragma parameter GetOSDefault(__A0)
520 #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
521 #pragma parameter SetOSDefault(__A0)
528 #if CALL_NOT_IN_CARBON
583 #if CALL_NOT_IN_CARBON
720 kNetworkStartupDevice = 32767,
721 kLocalStartupDevice = 32766
730 kSMProtocolStringSize = 16,
731 kSMAddressStringSize = 16,
732 kSMBootFilenameSize = 128
740 #if CALL_NOT_IN_CARBON
831 char *filename,
char *ciaddr,
char *giaddr,
832 UInt32 *bootpRetries, UInt32 *tftpRetries,
909 char *ciaddr,
char *giaddr, UInt32 bootpRetries,
910 UInt32 tftpRetries, UInt32 reserved);
914 #if PRAGMA_STRUCT_ALIGN
915 #pragma options align = reset
916 #elif PRAGMA_STRUCT_PACKPUSH
918 #elif PRAGMA_STRUCT_PACK
922 #ifdef PRAGMA_IMPORT_OFF
933 * / AGMA_STRUCT_PACKPUSH
935 #elif PRAGMA_STRUCT_PACK
939 #ifdef PRAGMA_IMPORT_OFF
File Manager (MFS, HFS, and HFS+) Interfaces.
Basic Macintosh data types.
unsigned char Boolean
Definition: MacTypes.h:318
void DisposeRoutineDescriptor(UniversalProcPtr theUPP)
#define STACK_UPP_TYPE(name)
Definition: MixedMode.h:734
UniversalProcPtr NewRoutineDescriptor(ProcPtr theProc, ProcInfoType theProcInfo, ISAType theISA)
Boolean IsDriveSelectable(UInt16 driveNum)
OSErr RemoveExtensionTableHandlerProc(ExtensionTableHandlerUPP extMgrProc)
OSErr InstallExtensionNotificationProc(ExtensionNotificationUPP extNotificationProc)
void GetOSDefault(DefOSPtr paramBlock)
Get default video device location and resource number.
OSErr SetSelectedNetworkStartupDevice(char *protocol, char *siaddr, char *filename, char *ciaddr, char *giaddr, UInt32 bootpRetries, UInt32 tftpRetries, UInt32 reserved)
void SetTimeout(short count)
How long you want the system to wait for a hard disk response.
OSErr GetSelectedFirewireStartupDeviceInfo(UnsignedWide *GUID, UInt32 *mao, UInt32 *lun)
OSErr GetSelectedNetworkStartupDeviceInfo(char *protocol, char *siaddr, char *filename, char *ciaddr, char *giaddr, UInt32 *bootpRetries, UInt32 *tftpRetries, UInt32 reserved)
void SetVideoDefault(DefVideoPtr paramBlock)
Set default video device location and resource number.
@ extNotificationAfterCurrent
Definition: Start.h:76
@ extNotificationAfterLast
Definition: Start.h:73
@ extNotificationBeforeCurrent
Definition: Start.h:74
void SetOSDefault(DefOSPtr paramBlock)
Set default operating system.
OSErr GetSelectedStartupDevice(UInt16 *driveNum)
#define NewExtensionTableHandlerUPP(userRoutine)
Definition: Start.h:189
void InvokeExtensionNotificationUPP(UInt32 message, void *param, ExtensionElementPtr extElement, ExtensionNotificationUPP userUPP)
void GetTimeout(short *count)
Number of seconds the system wait for a hard disk.
void DisposeExtensionNotificationUPP(ExtensionNotificationUPP userUPP)
OSErr RemoveExtensionNotificationProc(ExtensionNotificationUPP extNotificationProc)
void DisposeExtensionTableHandlerUPP(ExtensionTableHandlerUPP userUPP)
void InvokeExtensionTableHandlerUPP(UInt32 message, void *param, ExtensionTableHandle extTableHandle, ExtensionTableHandlerUPP userUPP)
OSErr InstallExtensionTableHandlerProc(ExtensionTableHandlerUPP extMgrProc, ExtensionTableHandle *extTable)
void SetDefaultStartup(DefStartPtr paramBlock)
SetDefaultStartup Specify default startup device.
OSErr GetSelectedStartupDeviceType(OSType *interfaceType)
OSErr SetSelectedStartupDevice(UInt16 driveNum)
#define NewExtensionNotificationUPP(userRoutine)
Definition: Start.h:158
void GetDefaultStartup(DefStartPtr paramBlock)
GetDefaultStartup Get default startup device name and reference.
void GetVideoDefault(DefVideoPtr paramBlock)
Get default video device location and resource number.
long parentDirID
Definition: Start.h:83
short ioFRefNum
Definition: Start.h:87
short ioVRefNum
Definition: Start.h:85
SInt8 ioFlAttrib
Definition: Start.h:91
ExtensionElement extElements[1]
Definition: Start.h:122
Definition: MacTypes.h:110