home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 15 / CD_ASCQ_15_070894.iso / news / 442 / qbxfli10 / playfli.bi < prev    next >
Text File  |  1994-03-28  |  3KB  |  66 lines

  1. '───────────────────────────────────────────────────────────────────────────────
  2. ' PLAYFLI.BI
  3. '───────────────────────────────────────────────────────────────────────────────
  4. ' /* Main FLI Player PLAYFLI.BAS */
  5. DECLARE FUNCTION PlayFLI% (FiName$, BYVAL NumLoops%, BYVAL Speed%, BYVAL ShowDelay%, BYVAL ShownDelay%, BYVAL FadeInSpeed%, BYVAL FadeOutSpeed%, BYVAL AbortCheck%, BYVAL UseXMS%)
  6. '───────────────────────────────────────────────────────────────────────────────
  7. ' /* PLAYFLI.BAS Internal Error Codes */
  8. CONST CORRUPTED = -1
  9. CONST UNSUPPORTED = -2
  10. CONST NOTFLI = -3
  11. CONST ABORTED = -4
  12. CONST READPASTEOF = -11
  13. CONST XMSERROR = -18
  14. '───────────────────────────────────────────────────────────────────────────────
  15. ' /* Very Common Critical Error & DOS Error Codes */
  16. CONST DRIVENOTREADY = 2
  17. CONST BADFILENAME = 102
  18. CONST BADPATHNAME = 103
  19. CONST OUTOFMEMORY = 108
  20. '───────────────────────────────────────────────────────────────────────────────
  21. '                          DOS Error Code List:
  22. '                          --------------------
  23. '
  24. '               101     Invalid function number
  25. '               102     File not found
  26. '               103     Path not found
  27. '               104     Too many open files, no file handles left
  28. '               105     Access denied
  29. '               106     Invalid handle
  30. '               107     Memory control blocks destroyed
  31. '               108     Insufficient memory
  32. '               109     Invalid memory block address
  33. '               110     Invalid environment
  34. '               111     Invalid format
  35. '               112     Invalid access code
  36. '               113     Invalid data
  37. '               114     Reserved
  38. '               115     Invalid drive was specified
  39. '               116     Attempt to remove the current directory
  40. '               117     Not same device
  41. '               118     No more files
  42. '               119     Attempt to write on write-protected diskette
  43. '               120     Unknown unit
  44. '               121     Drive not ready
  45. '               122     Unknown command
  46. '               123     Bad CRC check
  47. '               124     Bad request structure length
  48. '               125     Seek error
  49. '               126     Unknown media type
  50. '               127     Sector not found
  51. '               128     Printer out of paper
  52. '               129     Write fault
  53. '               130     Read fault
  54. '               131     General Failure
  55. '               132     Sharing violation
  56. '               133     Lock violation
  57. '               134     Invalid disk change
  58. '               135     FCB unavailable
  59. '               136     Sharing buffer overflow
  60. '
  61. ' Error Codes 1 to 99 and 255 indicate critical disk errors. See a DOS reference
  62. ' for further details. Note: DOS critical error code zero (disk write protect
  63. ' error) is remapped to 255 by the IO.OBJ module.
  64. '───────────────────────────────────────────────────────────────────────────────
  65.  
  66.