/* dBoxTools.h */

#ifndef _dBoxTools_h
#define _dBoxTools_h

#define SWI_CHUNK                  0x051300
#define dBoxTools_SetClient       (SWI_CHUNK + 0)
#define dBoxTools_SetClientHandle (SWI_CHUNK + 1)
#define dBoxTools_SetOutPutFocus  (SWI_CHUNK + 2)
#define dBoxTools_SetDestination  (SWI_CHUNK + 3)
#define dBoxTools_SetValue        (SWI_CHUNK + 4)
#define dBoxTools_GetValue        (SWI_CHUNK + 5)
#define dBoxTools_Quit            (SWI_CHUNK + 6)

#define ERROR_BLOCK                    0x814500
#define ERROR_CLASS_NOT_UNDERSTOOD    (ERROR_BLOCK + 0)
#define ERROR_CLASS_NO_VALUE          (ERROR_BLOCK + 1)
#define ERROR_GADGET_NOT_UNDERSTOOD   (ERROR_BLOCK + 2)
#define ERROR_GADGET_NO_VALUE         (ERROR_BLOCK + 3)
#define ERROR_BUFFER_OVERFLOW         (ERROR_BLOCK + 4)
#define ERROR_ACTION_NOT_KNOWN        (ERROR_BLOCK + 5)
#define ERROR_OBJECT_NOT_FOUND        (ERROR_BLOCK + 6)
#define ERROR_DEF_WONT_OPEN           (ERROR_BLOCK + 7)
#define ERROR_STRING_SYNTAX           (ERROR_BLOCK + 8)
#define ERROR_OUT_OF_MEMORY           (ERROR_BLOCK + 9)

/* message and SWI flag bit numbers */
#define OBJECT_IS_WINDOW_HANDLE  13
#define COMPONENT_IS_ICON_NUMBER 14
#define RETURN_AS_TEXT           15
#define REGISTERS_USED           20
 
#endif
