h225csperr.h
上传用户:hnnddl
上传日期:2007-01-06
资源大小:3580k
文件大小:2k
源码类别:

IP电话/视频会议

开发平台:

WINDOWS

  1. /*
  2.  * $Revision: 1.2 $
  3.  * $Date: 1997/11/12 16:20:53 $
  4.  */
  5. ////////////////////////////////////////////////////////////////
  6. //               Copyright (c) 1996,97 Lucent Technologies    //
  7. //                       All Rights Reserved                  //
  8. //                                                            //
  9. //                       THIS IS UNPUBLISHED                  //
  10. //                       PROPRIETARY SOURCE                   //
  11. //                   CODE OF Lucent Technologies              //
  12. // AND elemedia   //
  13. //                                                            //
  14. //           The copyright notice above does not evidence any //
  15. //          actual or intended publication of such source code//
  16. ////////////////////////////////////////////////////////////////
  17. #if !defined(__H225CSPERR_H__)
  18. #define __H225CSPERR_H__
  19. #include "api/apierr.h"
  20. #define H225CS_SUCCESS 0
  21. // Aliases for general error codes
  22. #define H225CS_UNKNOWN_ERROR PROT_CODE_UNKNOWN_ERROR
  23. #define H225CS_MEM_ALLOC_FAILED PROT_CODE_MEM_ALLOC_FAILED
  24. #define H225CS_INVALID_PARAM PROT_CODE_INVALID_PARAM
  25. #define H225CS_PENDING PROT_CODE_PENDING
  26. #define H225CS_NOT_IMPLEMENTED PROT_CODE_NOT_IMPLEMENTED
  27. #define H225CS_ITEM_NOT_PRESENT PROT_CODE_ITEM_NOT_PRESENT
  28. #define H225CS_BUFFER_TOO_SMALL PROT_CODE_BUFFER_TOO_SMALL
  29. #define H225CS_INVALID_Q931_STATE (PROT_CODE_MAX + 1)
  30. #define H225CS_ERROR(CODE)
  31. (ProtReturnCode)PROT_ERR(PROT_FACILITY_CODE_H225,
  32. PROT_FACILITY_SUB_CODE_H225CS,(CODE))
  33. #endif //__H225CSPERR_H__