home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / workbench / startup.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-20  |  925 b   |  40 lines

  1. #ifndef WORKBENCH_STARTUP_H
  2. #define WORKBENCH_STARTUP_H
  3. /*
  4. **    $VER: startup.h 36.3 (11.7.1990)
  5. **    Includes Release 44.1
  6. **
  7. **    workbench startup definitions
  8. **
  9. **    (C) Copyright 1985-1999 Amiga, Inc.
  10. **    All Rights Reserved
  11. */
  12.  
  13. #ifndef EXEC_TYPES_H
  14. #include <exec/types.h>
  15. #endif
  16.  
  17. #ifndef EXEC_PORTS_H
  18. #include <exec/ports.h>
  19. #endif
  20.  
  21. #ifndef DOS_DOS_H
  22. #include <dos/dos.h>
  23. #endif
  24.  
  25. struct WBStartup {
  26.     struct Message    sm_Message;    /* a standard message structure */
  27.     struct MsgPort *    sm_Process;    /* the process descriptor for you */
  28.     BPTR        sm_Segment;    /* a descriptor for your code */
  29.     LONG        sm_NumArgs;    /* the number of elements in ArgList */
  30.     char *        sm_ToolWindow;    /* description of window */
  31.     struct WBArg *    sm_ArgList;    /* the arguments themselves */
  32. };
  33.  
  34. struct WBArg {
  35.     BPTR        wa_Lock;    /* a lock descriptor */
  36.     BYTE *        wa_Name;    /* a string relative to that lock */
  37. };
  38.  
  39. #endif    /* !WORKBENCH_STARTUP_H */
  40.