sys7.1-doc-wip/Internal/Asm/MFPrivate.a

133 lines
4.7 KiB
Plaintext
Raw Normal View History

2019-07-27 14:37:48 +00:00
;
; File: MFPrivate.a
;
; Contains: All private Process Manager constants and record definitions
;
; Written by: David Harrison
;
; Copyright: © 1990-1993 by Apple Computer, Inc. All rights reserved.
;
; Change History (most recent first):
;
; <SM4> 2/20/93 SAM Moved all the process manager private traps and macros to
; TrapsPrivate.a
; <SM3> 11/3/92 SWC Added PostHighLevelEvent macro.
; <22> 3/25/92 DTY #1024114,<pvh>: Add macro for
; _ProcessEntryFromProcessSerialNumber.
; <21> 1/11/92 YK Two more calls for TSM. NewTSMLayerOwner to get the event for
; the floating window. RouteEventToSWM to do the bottom line
; input.
; <20> 1/10/92 YK Added Macros for supporting the Text Services Manager.
; <19> 8/22/91 JSM Clean up header.
; <18> 2/21/91 DFH dba,#82504, #82681, #83168, #83182, #83207: Added
; SysZoneFloatSizes.
; <17> 1/30/91 gbm sab, #38: Change the already including this file variable to
; all uppercase (for security reasons)
; <16> 1/28/91 DFH JSM,#81425:Add EnableSwitching and DisableSwitching macros.
; <15> 1/21/91 DFH (KSM) Removed Process Menu IDs, since they are now in
; MenuMgrPriv.a, as the Application Menu IDs.
; <14> 1/15/91 DFH (VL) Add record REC/ENDR templates for existing records.
; <13> 12/20/90 DFH (dba) Added GetNextHighLevelEvent.
; <12> 12/14/90 DFH Added SynchIdleTime.
; <11> 7/25/90 DFH Added InitApplication, CleanupApplication, and SndAppDead.
; <10> 6/8/90 DFH Reformatted change history for checkin active window
; <9> 6/8/90 DFH Added ProcessMenuResourceID and ProcessMenuID
; <6> 4/16/90 DFH Added definitions for Apple menu selection AppleEvent.
; <5> 4/10/90 KSM Update equates to GetAuxMenuItem's aux record to include
; auxMenuHelpString.
; <4> 3/12/90 DFH Added aeDebuggerNotify.
; <3> 2/8/90 DFH Copied projector revision comments to this file.
; <2> 2/5/90 DFH Added enteredDebugger.
; <1.2> 12/1/90 ngk Added System Debugger interfaces
; <1.1> 10/16/89 KST Delete redefinition of OSDispatch.
; <1.0> 10/16/89 CCH Adding to EASE.
;
;___________________________________________________________________________
IF &TYPE('__INCLUDINGMFPRIVATE__') = 'UNDEFINED' THEN
__INCLUDINGMFPRIVATE__ SET 1
;__________________________________________________________________________________
; Application Menu.
;__________________________________________________________________________________
; item numbers
HIDE_APP_ITEM EQU 1
HIDE_OTHERS_ITEM EQU 2
SHOW_ALL_ITEM EQU 3
APPLICATION_MENU_COUNT EQU 4
;__________________________________________________________________________________
; Auxiliary menu item data.
;__________________________________________________________________________________
; information record returned by GetAuxMenuItem
AuxMenuItemRec RECORD 0
auxMenuIconHandle DS.L 1
auxMenuIconSize DS.W 1
auxMenuIconGray DS.W 1
auxMenuScript DS.W 1
auxMenuHelpString DS.L 1
size EQU *
ENDR
; information record returned by GetAuxMenuItem (old style defintion)
auxMenuIconHandle EQU 0
auxMenuIconSize EQU 4
auxMenuIconGray EQU 6
auxMenuScript EQU 8
auxMenuHelpString EQU 10
Sizeof_auxdata EQU 14
;__________________________________________________________________________________
; Volume notification interface.
;__________________________________________________________________________________
; values for the VNBNotice field
VNMounted EQU 0
VNAboutToGoOffline EQU 1
VNOffline EQU 2
VNAboutToUnmount EQU 3
VNUnmount EQU 4
; volume notification parameter block
VolumeNoticeBlk RECORD 0
VNBLength DS.L 1
VNBNotice DS.W 1
VNBVolume DS.W 1
VNBRefCon DS.L 1
VNBResult DS.W 1
size EQU *
ENDR
; volume notification parameter block (old style defintion)
VNBLength EQU 0
VNBNotice EQU 4
VNBVolume EQU 6
VNBRefCon EQU 8
VNBResult EQU 12
;__________________________________________________________________________________
; Shell support
;__________________________________________________________________________________
; AppleEvent sent to app launched from FINDERNAME at boot time
aeStartup EQU 'boot'
; AppleEvent and routines to customize the Apple menu
aeAppleMenuItemSelect EQU 'amis'
aeAppleMenuItemKeyword EQU 'amis'
DELETE_ALL_ITEMS EQU 0
;__________________________________________________________________________________
; System debugger support
;__________________________________________________________________________________
; system error generated when user types the debugger key combination
enterDebugger EQU 110
; identifier of AppleEvent notifying debugger that debuggee now not frontmost
aeDebuggerNotify EQU 'dbrk'
ENDIF ; ...already included