home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / os2hdr.exe / NWPS_ERR.H < prev    next >
C/C++ Source or Header  |  1993-04-12  |  7KB  |  119 lines

  1. /*--------------------------------------------------------------------------
  2.       (C) Copyright 1993, Novell, Inc.  All Rights Reserved.
  3.  
  4.  No part of this file may be duplicated, revised, translated, localized or
  5.  modified in any manner or compiled, linked, or uploaded or downloaded to or
  6.  from any computer system without the prior written consent of Novell, Inc.
  7. --------------------------------------------------------------------------*/
  8. #ifndef NWPS_ERR_INC
  9. #define NWPS_ERR_INC
  10. /*=============== Print server communication errors ========================*/
  11. #define NWPSE_SUCCESSFUL                        0x0000            /*  0 PServer Comm */
  12. #define NWPSE_NO_AVAILABLE_SPX_CONNECTI    0x0040            /* 64 PServer Comm */
  13. #define NWPSE_SPX_NOT_INITIALIZED            0x0041            /* 65 PServer Comm */
  14. #define NWPSE_NO_SUCH_PSERVER             0x0042            /* 66 PServer Comm */
  15. #define NWPSE_UNABLE_TO_GET_SERVER_ADDR    0x0043            /* 67 PServer Comm */
  16. #define NWPSE_UNABLE_TO_CONNECT_TO_SERV    0x0044            /* 68 PServer Comm */
  17. #define NWPSE_NO_AVAILABLE_IPX_SOCKETS    0x0045            /* 69 PServer Comm */
  18. #define NWPSE_ALREADY_ATTACH_TO_A_PRINT    0x0046            /* 70 PServer Comm */
  19. #define NWPSE_IPX_NOT_INITIALIZED            0x0047            /* 71 PServer Comm */
  20.  
  21. /*=============== Print server error codes ================================*/
  22. #define NWPSE_TOO_MANY_NW_SERVERS            0x0101            /*  257 PServer    */
  23. #define NWPSE_UNKNOWN_NW_SERVER                0x0102            /*  258 PServer    */
  24. #define NWPSE_BINDERY_LOCKED                    0x0103            /*  259 PServer    */
  25. #define NWPSE_NW_SERVER_MAXED_OUT            0x0104            /*  260 PServer    */
  26. #define NWPSE_NO_RESPONSE                        0x0105            /*  261 PServer    */
  27. #define NWPSE_ALREADY_ATTACHED                0x0106            /*  262 PServer    */
  28. #define NWPSE_CANT_ATTACH                        0x0107            /*  263 PServer    */
  29. #define NWPSE_NO_ACCOUNT_BALANCE          0x0108            /*  264 PServer    */
  30. #define NWPSE_NO_CREDIT_LEFT                    0x0109            /*  265 PServer    */
  31. #define NWPSE_INTRUDER_DETECTION_LOCK        0x010A            /*  266 PServer    */
  32. #define NWPSE_TOO_MANY_CONNECTIONS            0x010B            /*  267 PServer    */
  33. #define NWPSE_ACCOUNT_DISABLED                0x010C            /*  268 PServer    */
  34. #define NWPSE_UNAUTHORIZED_TIME                0x010D            /*  269 PServer    */
  35. #define NWPSE_UNAUTHORIZED_STATION            0x010E            /*  270 PServer    */
  36. #define NWPSE_NO_MORE_GRACE                    0x010F            /*  271 PServer    */
  37. #define NWPSE_LOGIN_DISABLED                    0x0110            /*  272 PServer    */
  38. #define NWPSE_ILLEGAL_ACCT_NAME                0x0111            /*  273 PServer    */
  39. #define NWPSE_PASSWORD_HAS_EXPIRED            0x0112            /*  274 PServer    */
  40. #define NWPSE_ACCESS_DENIED                    0x0113            /*  275 PServer    */
  41. #define NWPSE_CANT_LOGIN                        0x0114            /*  276 PServer    */
  42. #define NWPSE_PRINTER_ALREADY_INSTALLED    0x0115            /*  277 PServer    */
  43. #define NWPSE_CANT_OPEN_CONFIG_FILE       0x0116            /*  278 PServer    */
  44. #define NWPSE_CANT_READ_CONFIG_FILE       0x0117            /*  279 PServer    */
  45. #define NWPSE_UNKNOWN_PRINTER_TYPE            0x0118            /*  280 PServer    */
  46.  
  47. /*================= Print server error codes ==============================*/
  48. #define NWPSE_NO_SUCH_QUEUE                    0x0200            /*  512 PServer    */
  49. #define NWPSE_NOT_AUTHORIZED_FOR_QUEUE    0x0201            /*  513 PServer    */
  50. #define NWPSE_QUEUE_HALTED                0x0202            /*  514 PServer    */
  51. #define NWPSE_UNABLE_TO_ATTACH_TO_QUEUE    0x0203            /*  515 PServer    */
  52. #define NWPSE_TOO_MANY_QUEUE_SERVERS        0x0204            /*  516 PServer    */
  53.  
  54. /*================= Print server error codes ==============================*/
  55. #define NWPSE_INVALID_REQUEST             0x0300            /*  768 PServer    */
  56. #define NWPSE_NOT_ENOUGH_MEMORY                0x0301            /*  769 PServer    */
  57. #define NWPSE_NO_SUCH_PRINTER             0x0302            /*  770 PServer    */
  58. #define NWPSE_INVALID_PARAMETER                0x0303            /*  771 PServer    */
  59. #define NWPSE_PRINTER_BUSY                0x0304            /*  772 PServer    */
  60. #define NWPSE_CANT_DETACH_PRIMARY_SERVE    0x0305            /*  773 PServer    */
  61. #define NWPSE_GOING_DOWN                        0x0306            /*  774 PServer    */
  62. #define NWPSE_NOT_CONNECTED                    0x0307            /*  775 PServer    */
  63. #define NWPSE_ALREADY_IN_USE                    0x0308            /*  776 PServer    */
  64. #define NWPSE_NO_JOB_ACTIVE                    0x0309            /*  777 PServer    */
  65. #define NWPSE_NOT_ATTACHED_TO_SERVER        0x030A            /*  778 PServer    */
  66. #define NWPSE_ALREADY_IN_LIST             0x030B            /*  779 PServer    */
  67. #define NWPSE_DOWN                                0x030C            /*  780 PServer    */
  68. #define NWPSE_NOT_IN_LIST                        0x030D            /*  781 PServer    */
  69. #define NWPSE_NO_RIGHTS                   0x030E            /*  782 PServer    */
  70. #define NWPSE_CMD_NOT_SUPPORTED                0x030F            /*  783 PServer    */
  71.  
  72. /*================= Print server error codes ==============================*/
  73. #define NWPSE_UNABLE_TO_VERIFY_IDENTITY    0x0400            /* 1024 PServer    */
  74. #define NWPSE_NOT_REMOTE_PRINTER          0x0401            /* 1025 PServer    */
  75. #define NWPSE_UNAUTHORIZED_PRINTER            0x0402            /* 1026 PServer    */
  76.  
  77. /*================= XNP error codes =======================================*/
  78. #define NWPSE_NOT_READY                   0x0500            /* 1280 PServer    */
  79. #define NWPSE_INVALID_PROCESS             0x0501            /* 1281 PServer    */
  80. #define NWPSE_INVALID_JOB_ID                    0x0502            /* 1282 PServer    */
  81. #define NWPSE_NO_MSG_FILE                        0x0503            /* 1283 PServer    */
  82. #define NWPSE_JOB_REQUEST_ACTIVE          0x0504            /* 1284 PServer    */
  83.  
  84. /*========= Cfg Scan and Cfg GetFirst/GetNext error codes =================*/
  85. #define NWPSE_END_OF_LIST                        (WORD)0x7760    /* 30560 Library    */
  86. #define NWPSE_NO_SUCH_LIST_ENTRY          (WORD)0x7761    /* 30561 Library    */
  87. #define NWPSE_END_OF_ATTR_LIST                (WORD)0x7762    /* 30562 Library    */
  88. /* D.S. only; you get this when NWPSCfgVerifyxxxx finds the Common Name, 
  89.     but the Class does not match what you were looking for. */
  90. #define NWPSE_WRONG_CLASS_LIST_ENTRY        (WORD)0x7763    /* 30563 Library    */
  91.  
  92. /*================= Job Configuration error codes =========================*/
  93. #define NWPSE_BAD_VERSION                        (WORD)0x7770    /* 30576 Library    */
  94. #define NWPSE_END_SCAN                            (WORD)0x7771    /* 30577 Library    */
  95. #define NWPSE_ERROR_EXPANDING_DB          (WORD)0x7772    /* 30578 Library    */
  96. #define NWPSE_ERROR_GETTING_DEFAULT       (WORD)0x7773    /* 30579 Library    */
  97. #define NWPSE_ERROR_OPENING_DB                (WORD)0x7774    /* 30580 Library    */
  98. #define NWPSE_ERROR_READING_DB                (WORD)0x7775    /* 30581 Library    */
  99.  
  100. #define NWPSE_ERROR_WRITING_DB                (WORD)0x7777    /* 30583 Library    */
  101.  
  102. #define NWPSE_INTERNAL_ERROR                    (WORD)0x7779    /* 30585 Library    */
  103. #define NWPSE_JOB_NOT_FOUND                    (WORD)0x777A    /* 30586 Library    */
  104. #define NWPSE_NO_DEFAULT_SPECIFIED            (WORD)0x777B    /* 30587 Library    */
  105. #define NWPSE_OUT_OF_MEMORY                    (WORD)0x777C    /* 30588 Library    */
  106. #define NWPSE_ERROR_SEEKING_DB                (WORD)0x777D    /* 30589 Library    */
  107. #define NWPSE_NO_ACCESS_RIGHTS_DB            (WORD)0x777E    /* 30590 Library    */
  108.  
  109. /*========== Print Def error codes for import/export files ================*/
  110. #define NWPSE_ERROR_OPENING_IMP                (WORD)0x7790    /* 30608 Library    */
  111. #define NWPSE_ERROR_READING_IMP                (WORD)0x7791    /* 30609 Library    */
  112. #define NWPSE_ERROR_WRITING_IMP                (WORD)0x7792    /* 30610 Library    */
  113. #define NWPSE_NO_ACCESS_RIGHTS_IMP            (WORD)0x7793    /* 30611 Library    */
  114.  
  115. /*==================== Print Def error codes ==============================*/
  116. #define NWPSE_CONTEXT_CANNOT_BE_ROOT        (WORD)0x77A0    /* 30624 Library    */
  117. #define NWPSE_CONTEXT_CONTAINS_NO_ORGS    (WORD)0x77A1    /* 30625 Library    */
  118. #endif /* NWPS_ERR_INC */
  119.