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

IP电话/视频会议

开发平台:

WINDOWS

  1. /*
  2.  * $Revision: 1.2 $
  3.  * $Date: 1998/04/01 22:43:47 $
  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(__H245SIGERR_H__)
  18. #define __H245SIGERR_H__
  19. #include "api/apierr.h"
  20. #define H245SIG_SUCCESS 0
  21. // Aliases for general error codes
  22. #define H245SIG_UNKNOWN_ERROR PROT_CODE_UNKNOWN_ERROR
  23. #define H245SIG_MEM_ALLOC_FAILED PROT_CODE_MEM_ALLOC_FAILED
  24. #define H245SIG_INVALID_PARAM PROT_CODE_INVALID_PARAM
  25. #define H245SIG_PENDING PROT_CODE_PENDING
  26. #define H245SIG_NOT_IMPLEMENTED PROT_CODE_NOT_IMPLEMENTED
  27. #define H245SIG_ITEM_NOT_PRESENT PROT_CODE_ITEM_NOT_PRESENT
  28. #define H245SIG_BUFFER_TOO_SMALL PROT_CODE_BUFFER_TOO_SMALL
  29. // H245SIG specific error codes
  30. #define H245SIG_INVALID_TYPE (PROT_CODE_MAX + 1)
  31. #define H245SIG_INVALID_SUBTYPE (PROT_CODE_MAX + 2)
  32. #define H245SIG_ERROR(CODE)
  33. (ProtReturnCode)PROT_ERR(PROT_FACILITY_CODE_H245,
  34. PROT_FACILITY_SUB_CODE_H245SIG,(CODE))
  35. #endif //__H245SIGERR_H__