home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / usms1.exe / SMSDRERR.H < prev    next >
Text File  |  1994-08-02  |  3KB  |  67 lines

  1. /*    
  2. ****************************************************************************
  3. *
  4. * Program Name:      Storage Management Services DRAPI Error Codes
  5. *
  6. * Filename:          smsdrerr.h
  7. *
  8. * Date Created:      March 4, 1992
  9. *
  10. * Version:           3.2
  11. *
  12. * Files used:    
  13. *
  14. * Date Modified: 
  15. *
  16. * Modifications: 
  17. *
  18. * Comments:          Error numbers for DRAPIs
  19. *                    Prefix:   FFFE (Remote), 7FFE (Local)
  20. *
  21. * (C) Unpublished Copyright of Novell, Inc.  All Rights Reserved.
  22. *
  23. * No part of this file may be duplicated, revised, translated, localized or
  24. * modified in any manner or compiled, linked or uploaded or downloaded to or
  25. * from any computer system without the prior written consent of Novell, Inc.
  26. *
  27. ****************************************************************************
  28. */
  29.  
  30. #ifndef _SMSDRERR_H_INCLUDED      /* smsdrerr.h header latch */
  31. #define _SMSDRERR_H_INCLUDED
  32.  
  33. #define NWSMDR_ERROR_CODE(err)         (0xFFFE0000L | err)
  34.  
  35. #define NWSMDR_BEGIN_ERROR_CODES       NWSMDR_ERROR_CODE(0xFFFF)
  36.  
  37. #define NWSMDR_INVALID_CONNECTION      NWSMDR_ERROR_CODE(0xFFFF) 
  38. /* An invalid connection handle was passed to the SMDR                     */
  39. #define NWSMDR_INVALID_PARAMETER       NWSMDR_ERROR_CODE(0xFFFE) 
  40. /* One or more of the paremeters is NULL or invalid                        */
  41. #define NWSMDR_OUT_OF_MEMORY           NWSMDR_ERROR_CODE(0xFFFD) 
  42. /* SMDR memory allocation failed                                           */
  43. #define NWSMDR_TRANSPORT_FAILURE       NWSMDR_ERROR_CODE(0xFFFC) 
  44. /* The transport mechanism has failed                                      */
  45. #define NWSMDR_UNSUPPORTED_FUNCTION    NWSMDR_ERROR_CODE(0xFFFB) 
  46. /* The requested function is not supported by the SMDR                     */
  47.  
  48. #define NWSMDR_MODULE_ALREADY_EXPORTED NWSMDR_ERROR_CODE(0xFFFA)
  49. #define NWSMDR_DECRYPTION_FAILURE      NWSMDR_ERROR_CODE(0xFFF9)
  50. #define NWSMDR_ENCRYPTION_FAILURE      NWSMDR_ERROR_CODE(0xFFF8)
  51. #define NWSMDR_TSA_NOT_LOADED          NWSMDR_ERROR_CODE(0xFFF7)
  52. #define NWSMDR_NO_SUCH_SMDR            NWSMDR_ERROR_CODE(0xFFF6)
  53. #define NWSMDR_SMDR_CONNECT_FAILURE    NWSMDR_ERROR_CODE(0xFFF5)
  54. #define NWSMDR_NO_MORE_DATA            NWSMDR_ERROR_CODE(0xFFF4)
  55. #define NWSMDR_NO_SOCKETS              NWSMDR_ERROR_CODE(0xFFF3)
  56. #define NWSMDR_INVALID_PROTOCOL        NWSMDR_ERROR_CODE(0xFFF2)
  57. #define NWSMDR_NO_MORE_CONNECTIONS     NWSMDR_ERROR_CODE(0xFFF1)
  58. #define NWSMDR_NO_SUCH_TSA             NWSMDR_ERROR_CODE(0xFFF0)
  59.  
  60. #define NWSMDR_INVALID_MESSAGE_NUMBER  NWSMDR_ERROR_CODE(0xFFEF)
  61. #define NWSMDR_END_ERROR_CODES         NWSMDR_ERROR_CODE(0xFFEF)
  62. /* Identifies the end of the SMDR error set                                */
  63.  
  64. #endif                            /* smsdrerr.h header latch */
  65. /***************************************************************************/
  66.  
  67.