home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / header45.zip / errcmpat.h < prev    next >
Text File  |  1999-03-15  |  2KB  |  97 lines

  1. #ifndef _ERRCMPAT_H
  2.   #define _ERRCMPAT_H
  3. /*
  4.  * for compatibility with old return codes for ULS
  5.  */
  6.  
  7. #ifdef __cplusplus
  8.    extern "C" {
  9. #endif
  10.  
  11. #ifndef UNI_SUCCESS
  12.   #define UNI_SUCCESS                         ULS_SUCCESS
  13. #endif
  14.  
  15. #ifndef NO_ERROR
  16.   #define NO_ERROR                            0
  17. #endif
  18.  
  19. #ifndef UNI_UNSUPPORTED
  20.   #define UNI_UNSUPPORTED                     ULS_UNSUPPORTED
  21. #endif
  22.  
  23. #ifndef UNI_NOMEMORY
  24.   #define UNI_NOMEMORY                        ULS_NOMEMORY
  25. #endif
  26.  
  27. #ifndef UNI_INVALID
  28.   #define UNI_INVALID                         ULS_INVALID
  29. #endif
  30.  
  31. #ifndef UNI_BADOBJ
  32.   #define UNI_BADOBJ                          ULS_BADOBJECT
  33. #endif
  34.  
  35. #ifndef UNI_NOTOKEN
  36.   #define UNI_NOTOKEN                         ULS_NOTOKEN
  37. #endif
  38.  
  39. #ifndef UNI_NOMATCH
  40.   #define UNI_NOMATCH                         ULS_NOMATCH
  41. #endif
  42.  
  43. #ifndef UNI_BUFFER_FULL
  44.   #define UNI_BUFFER_FULL                     ULS_BUFFERFULL
  45. #endif
  46.  
  47. #ifndef UNI_RANGE
  48.   #define UNI_RANGE                           ULS_RANGE
  49. #endif
  50.  
  51. #ifndef ERR_NOOP
  52.   #define ERR_NOOP                            ULS_NOOP
  53. #endif
  54.  
  55. #ifndef ERR_TOO_MANY_KBD
  56.   #define ERR_TOO_MANY_KBD                    ULS_TOOMANYKBD
  57. #endif
  58.  
  59. #ifndef ERR_KBD_NOT_FOUND
  60.   #define ERR_KBD_NOT_FOUND                   ULS_KBDNOTFOUND
  61. #endif
  62.  
  63. #ifndef ERR_KBD_INVALID
  64.   #define ERR_KBD_INVALID                     ULS_INVALID
  65. #endif
  66.  
  67. #ifndef ERR_BAD_HANDLE
  68.   #define ERR_BAD_HANDLE                      ULS_BADHANDLE
  69. #endif
  70.  
  71. #ifndef ERR_NO_DEAD
  72.   #define ERR_NO_DEAD                         ULS_NODEAD
  73. #endif
  74.  
  75. #ifndef ERR_NO_SCAN
  76.   #define ERR_NO_SCAN                         ULS_NOSCAN
  77. #endif
  78.  
  79. #ifndef ERR_INVALID_SCAN
  80.   #define ERR_INVALID_SCAN                    ULS_INVALIDSCAN
  81. #endif
  82.  
  83. #ifndef ERR_NOT_IMPLEMENTED
  84.   #define ERR_NOT_IMPLEMENTED                 ULS_NOTIMPLEMENTED
  85. #endif
  86.  
  87. #ifdef ERR_NO_MEMORY
  88. #undef ERR_NO_MEMORY
  89. #endif
  90. #define ERR_NO_MEMORY                       ULS_NOMEMORY
  91.  
  92. #ifdef __cplusplus
  93.    }
  94. #endif
  95.  
  96. #endif
  97.