home *** CD-ROM | disk | FTP | other *** search
/ Computer Installation Guide - Dragon Clan Series / CD2.iso / CDR / DAO.21C / ERRORS.TXT < prev    next >
Encoding:
Text File  |  1996-04-14  |  1.7 KB  |  33 lines

  1. // Error codes returned by all programs
  2.  
  3. #define E_NoErr         0     // No Error 
  4. #define E_NoAspi        -1    // No ASPI Manager Installed 
  5. #define E_Busy          -2    // ASPI module is busy (should never occur) 
  6. #define E_AspiErr       -3    // Undefined ASPI error 
  7. #define E_NoMem         -4    // Can't allocate memory 
  8. #define E_NoDevice      -5    // The device is not installed 
  9. #define E_AspiInval     -6    // Invalid ASPI request 
  10. #define E_NoAdapter     -7    // Invalid Host Adapter Number 
  11. #define E_Abort         -8    // ASPI request aborted by Host 
  12. #define E_SelTimeout    -9    // Selection Timeout 
  13. #define E_DataOverrun   -10   // Data over-run/under-run 
  14. #define E_BusFree       -11   // Unexpected Bus Free 
  15. #define E_BusFail       -12   // Target bus phase sequence failure 
  16. #define E_TargetBusy    -13   // The specified Target/LUN is busy 
  17. #define E_Reservation   -14   // Reservation conflict 
  18. #define E_Recovered     -15   // Recovered error 
  19. #define E_NotReady      -16   // Device cannot be accessed 
  20. #define E_Medium        -17   // Medium Error 
  21. #define E_Hardware      -18   // Non recoverable hardware error 
  22. #define E_IllegalReq    -19   // Illegal Request 
  23. #define E_UnitAttention -20   // Unit Attention 
  24. #define E_DataProtect   -21   // The block is protected 
  25. #define E_BlankCheck    -22   // Encountered non blank data 
  26. #define E_DriveBusy     -23   // Drive is busy 
  27. #define E_TargetAbort   -24   // Target aborted command 
  28. #define E_VolOverflow   -25   // Volume overflow 
  29. #define E_Miscompare    -26   // Source and data did not match 
  30. #define E_IOErr         -27   // An I/O error of unknown cause 
  31. #define E_EndOfMedium   -28   // End-of-Medium detected 
  32.  
  33.