home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 4 / CDPD_IV.bin / fish / 891-910 / ff896 / wbstart / wbstart.h < prev    next >
C/C++ Source or Header  |  1994-05-04  |  1KB  |  32 lines

  1. /*
  2.  * WBStart.h   V1.3
  3.  *
  4.  * WBStart-Handler data structure definition
  5.  *
  6.  * (c) 1991-93 by Stefan Becker
  7.  *
  8.  */
  9.  
  10. #include <dos/dos.h>
  11. #include <exec/ports.h>
  12. #include <workbench/startup.h>
  13.  
  14. /* Structure to send to the WBStart-Handler message port                   */
  15. /* - wbsm_Name should be relative to wbsm_DirLock                          */
  16. /* - wbsm_Stack is used as return field (TRUE == program has been started) */
  17. struct WBStartMsg {
  18.                    struct Message  wbsm_Msg;
  19.                    char           *wbsm_Name;    /* Name of the program */
  20.                    BPTR            wbsm_DirLock; /* Directory lock */
  21.                    ULONG           wbsm_Stack;   /* Stack size */
  22.                    LONG            wbsm_Prio;    /* Process priority */
  23.                    ULONG           wbsm_NumArgs; /* # of Args in ArgList */
  24.                    struct WBArg   *wbsm_ArgList; /* Pointer to Arguments */
  25.                   };
  26.  
  27. /* Name of the handler message port */
  28. #define WBS_PORTNAME "WBStart-Handler Port"
  29.  
  30. /* Default name for the WBStart-Handler binary */
  31. #define WBS_LOADNAME "L:WBStart-Handler"
  32.