home *** CD-ROM | disk | FTP | other *** search
/ Dave Lowe: AssemPro For Development Amiga Driver / Lowe_AssemProForDevelopmentAmigaDriver.adf / Includes / workbench / startup.i < prev    next >
Encoding:
Text File  |  1978-06-06  |  1.2 KB  |  45 lines

  1.  
  2.  
  3.  
  4. ;*; startup.i ;***********************************************************
  5. ;
  6. ;  Workbench startup definitions
  7. ;
  8. ; Copyright (C) 1985,  Commodore-Amiga, Inc., All rights reserved.
  9. ;
  10. ; $Header: startup.i,v 29.1 85/08/15 06:58:52 neil Exp $
  11. ;
  12. ; $Locker:  $
  13. ;
  14. ;***************************************************************************
  15.  
  16.         IFND    EXEC_TYPES_I@
  17.         INCLUDE "exec/types.i"
  18.         ENDIF
  19.  
  20.         IFND    EXEC_PORTS_I@
  21.         INCLUDE "exec/ports.i"
  22.         ENDIF
  23.  
  24.         IFND    LIBRARIES_DOS_I@
  25.         INCLUDE "libraries/dos.i"
  26.         ENDIF
  27.  
  28.  STRUCTURE WBStartup,0
  29.     STRUCT      sm_Message,MN_SIZE      ; a standard message structure
  30.     APTR        sm_Process              ; the process descriptor for you
  31.     BPTR        sm_Segment              ; a descriptor for your code
  32.     LONG        sm_NumArgs              ; the number of elements in ArgList
  33.     APTR        sm_ToolWindow           ; description of window
  34.     APTR        sm_ArgList              ; the arguments themselves
  35.     LABEL       sm_SIZEOF
  36.  
  37.  STRUCTURE WBArg,0
  38.     BPTR        wa_Lock                 ; a lock descriptor
  39.     APTR        wa_Name                 ; a string relative to that lock
  40.     LABEL       wa_SIZEOF
  41.  
  42.  
  43.     END
  44.