[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]

#ifndef WORKBENCH_STARTUP_H
#define WORKBENCH_STARTUP_H
/*
**      $VER: startup.h 36.3 (11.7.1990)
**      Includes Release 44.1
**
**      workbench startup definitions
**
**      (C) Copyright 1985-1999 Amiga, Inc.
**      All Rights Reserved
*/

#ifndef EXEC_TYPES_H
#include <exec/types.h>
#endif

#ifndef EXEC_PORTS_H
#include <exec/ports.h>
#endif

#ifndef DOS_DOS_H
#include <dos/dos.h>
#endif

struct WBStartup {
    struct Message      sm_Message;     /* a standard message structure */
    struct MsgPort *    sm_Process;     /* the process descriptor for you */
    BPTR                sm_Segment;     /* a descriptor for your code */
    LONG                sm_NumArgs;     /* the number of elements in ArgList */
    char *              sm_ToolWindow;  /* description of window */
    struct WBArg *      sm_ArgList;     /* the arguments themselves */
};

struct WBArg {
    BPTR                wa_Lock;        /* a lock descriptor */
    BYTE *              wa_Name;        /* a string relative to that lock */
};

#endif  /* !WORKBENCH_STARTUP_H */