home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / Guide.lzx / Guide / pDOS / DosErrors.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-11  |  4.2 KB  |  113 lines

  1. @DATABASE "pDOS/DosErrors.h"
  2. @MASTER   "Work2:AD/IInc/pDOS/DosErrors.h"
  3. @REMARK   This file was created by ADtoHT 2.0 on 11-Mär-97  13:34:02
  4. @REMARK   Do not edit
  5. @REMARK   ADtoHT is © 1993-1995 Christian Stieber
  6.  
  7. @NODE MAIN "pDOS/DosErrors.h"
  8. @TOC "__pOS_Dev.guide/MAIN"
  9.  
  10. @{"pDOS/DosErrors.h" LINK File}
  11.  
  12. @ENDNODE
  13. @NODE File "pDOS/DosErrors.h"
  14. #ifndef __INC_POS_PDOS_DOSERRORS_H
  15. #define __INC_POS_PDOS_DOSERRORS_H
  16. /*******************************************************************
  17.  Includes Release 24
  18.  (C) Copyright 1995-1997 proDAD
  19.      All Rights Reserved
  20.  
  21.  $AUT Holger Burkarth
  22.  $DAT >>DosErrors.h<<   02 Dec 1996    11:25:12 - (C) ProDAD
  23. *******************************************************************/
  24. #ifndef __INC_POS_PDOS_DOSTYPES_H
  25. #include <@{"pDOS/DosTypes.h" LINK "pDOS/DosTypes.h/File"}>
  26. #endif
  27.  
  28.  
  29.  
  30. enum pOS_DosFails
  31. {
  32. /* These are the return codes used by convention by pDOS commands */
  33. /* See FAILAT and IF for relvance to EXECUTE files   */
  34.  
  35.   DOSFAIL_OK    = 0, /* No problems, success */
  36.   DOSFAIL_WARN  = 5, /* A warning only */
  37.   DOSFAIL_ABORT = 8, /* Abort Ctrl-C */
  38.   DOSFAIL_ERROR =10, /* Something wrong */
  39.   DOSFAIL_FAIL  =20, /* Complete or severe failure */
  40. };
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47. enum pOS_DosErrors
  48. {
  49.   DOSERR_None=0,
  50.  
  51.   DOSERR_Unknown,
  52.  
  53.   DOSERR_Aborted,
  54.  
  55.   DOSERR_NoMem,                         /*NO_FREE_STORE  Speichermangel */
  56.   DOSERR_BadTemplate1,                  /* zweimal '='  oder '()' Klammerfehler */
  57.   DOSERR_BadTemplate2,                  /* unknown /? oder binary Operator ohne vorheriges Arg "*5" */
  58.   DOSERR_BadTemplateLogic,
  59.   DOSERR_TooManyArgs,
  60.   DOSERR_RequiredArgMissing,
  61.   DOSERR_KeyNeedsArg,
  62.   DOSERR_NeedsKeyword,
  63.   DOSERR_UnknownArg,
  64.                                         /* AmigaOS Errors */
  65.   DOSERR_NameToLong,                    /*DOSERR_LINE_TOO_LONG */
  66.   DOSERR_FileIsNotLoadModul,            /*FILE_NOT_OBJECT File kann über LoadSegment() nicht geladen werden */
  67.   DOSERR_ObjectInUse,                   /*OBJECT_IN_USE */
  68.   DOSERR_ObjectExists,                  /*OBJECT_EXISTS */
  69.   DOSERR_DirNotFound,                   /*DIR_NOT_FOUND */
  70.   DOSERR_ObjectNotFound,                /*OBJECT_NOT_FOUND */
  71.   DOSERR_NotImplemented,                /*ACTION_NOT_KNOWN */
  72.   DOSERR_WrongObjectType,               /*OBJECT_WRONG_TYPE => Open() auf ein Dir */
  73.   DOSERR_DiskNotValidated,              /*DISK_NOT_VALIDATED */
  74.   DOSERR_DiskWriteProtected,            /*DISK_WRITE_PROTECTED */
  75.   DOSERR_RenameAcrossDevices,           /*RENAME_ACROSS_DEVICES */
  76.   DOSERR_DirectoryNotEmpty,             /*DIRECTORY_NOT_EMPTY */
  77.   DOSERR_DeviceNotMounted,              /*DEVICE_NOT_MOUNTED */
  78.   DOSERR_SeekFailure,                   /*SEEK_ERROR */
  79.   DOSERR_CommentTooLong,                /*COMMENT_TOO_BIG */
  80.   DOSERR_DiskFull,                      /*DISK_FULL */
  81.   DOSERR_DeleteProtected,               /*DELETE_PROTECTED */
  82.   DOSERR_WriteProtected,                /*WRITE_PROTECTED */
  83.   DOSERR_ReadProtected,                 /*READ_PROTECTED */
  84.   DOSERR_NotDosDisk,                    /*NOT_A_DOS_DISK */
  85.   DOSERR_NoDiskInDrive,                 /*NO_DISK */
  86.   DOSERR_NoMoreEntries,                 /*NO_MORE_ENTRIES */
  87.  
  88.   DOSERR_ReadWriteError,
  89.   DOSERR_ProgAborted,                   /* Shell-Programm wurde abgebrochen */
  90.   DOSERR_NoFileSystem,
  91.   DOSERR_NoProcessNum,          /* Process-Num ist bereits belegt */
  92.   DOSERR_SyntaxError,           /* Fehler in z.B "com <> " */
  93.   DOSERR_TwiceIOE,              /* Umleitung doppelt angegeben */
  94.   DOSERR_ArgLineTooLong,        /* Argument-Zeile ist zu lange */
  95.   DOSERR_NoDupFHWithBuffer,     /* eine gepufferte FH kann nicht Dup. werden */
  96.   DOSERR_UnknownHunk,
  97.   DOSERR_TwiceMounted,          /* Device doppelt gemounted */
  98.   DOSERR_Timeout,               /* */
  99.  
  100.   DOSERR_NoChips,      /* you need newer chips  */
  101.   DOSERR_NoGfxMem,     /* couldn't get graphics-mem   */
  102.   DOSERR_UnknownMode,  /* don't recognize mode asked for */
  103.   DOSERR_NotAvailable, /* Mode not available for other reason */
  104.   DOSERR_NoScreen,     /* */
  105.   DOSERR_NoDisplay,    /* Display nicht vorhanden (@{"struct pOS_MonFile" LINK "pGFX/MonFile.h/File" 17}*) */
  106.   DOSERR_FalseWH,      /* Falsche Width oder Height */
  107.  
  108.   DOSERR_NoAccess,     /* kein Zugriffsrecht */
  109. };
  110.  
  111. #endif
  112. @ENDNODE
  113.