SDPErr.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:2k
源码类别:

模拟服务器

开发平台:

C/C++

  1. /*
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4.     sdperr.h
  5. Abstract:
  6.     sdp error codes
  7. Author:
  8. */
  9. #ifndef __SDP_ERROR_CODES__
  10. #define __SDP_ERROR_CODES__
  11. // First four bits - SEVERITY(11), CUSTOMER FLAG(1), RESERVED(0)
  12. #define SDP_INVALID_FORMAT                  0xe0000400
  13. #define SDP_INVALID_CHARACTER_SET_FORMAT    (SDP_INVALID_FORMAT + 1)
  14. #define SDP_INVALID_CHARACTER_SET           (SDP_INVALID_FORMAT + 2)
  15. #define SDP_INVALID_NUMERICAL_VALUE         (SDP_INVALID_FORMAT + 3)
  16. #define SDP_INVALID_VERSION_FIELD           (SDP_INVALID_FORMAT + 4)
  17. #define SDP_INVALID_ORIGIN_FIELD            (SDP_INVALID_FORMAT + 5)
  18. #define SDP_INVALID_SESSION_NAME            (SDP_INVALID_FORMAT + 6)
  19. #define SDP_INVALID_SESSION_TITLE           (SDP_INVALID_FORMAT + 7)
  20. #define SDP_INVALID_URI                     (SDP_INVALID_FORMAT + 8)
  21. #define SDP_INVALID_EMAIL_FIELD             (SDP_INVALID_FORMAT + 9)
  22. #define SDP_INVALID_PHONE_FIELD             (SDP_INVALID_FORMAT + 10)
  23. #define SDP_INVALID_CONNECTION_FIELD        (SDP_INVALID_FORMAT + 11)
  24. #define SDP_INVALID_BANDWIDTH_FIELD         (SDP_INVALID_FORMAT + 12)
  25. #define SDP_INVALID_ADDRESS                 (SDP_INVALID_FORMAT + 13)
  26. #define SDP_INVALID_TIME_PERIOD             (SDP_INVALID_FORMAT + 14)
  27. #define SDP_INVALID_TIME_FIELD              (SDP_INVALID_FORMAT + 15)
  28. #define SDP_INVALID_REPEAT_FIELD            (SDP_INVALID_FORMAT + 16)
  29. #define SDP_INVALID_ADJUSTMENT_FIELD        (SDP_INVALID_FORMAT + 17)
  30. #define SDP_INVALID_ENCRYPTION_KEY_FIELD    (SDP_INVALID_FORMAT + 18)
  31. #define SDP_INVALID_ATTRIBUTE               (SDP_INVALID_FORMAT + 19)
  32. #define SDP_INVALID_MEDIA_FIELD             (SDP_INVALID_FORMAT + 20)
  33. #define SDP_INVALID_MEDIA_NAME              (SDP_INVALID_FORMAT + 21)
  34. #define SDP_INVALID_MEDIA_TITLE             (SDP_INVALID_FORMAT + 22)
  35. #define SDP_INTERNAL_ERROR                  (SDP_INVALID_FORMAT + 23)
  36. #define UNABLE_TO_FREE_BSTR                 (SDP_INVALID_FORMAT + 24)
  37. #define SDP_ALREADY_PARSED                  (SDP_INVALID_FORMAT + 25)
  38. #define SDP_INVALID_PARAMETER               (SDP_INVALID_FORMAT + 26)
  39. #define SDP_INVALID_VALUE                   (SDP_INVALID_FORMAT + 27)
  40. #define SDP_OUTPUT_ERROR                    (SDP_INVALID_FORMAT + 28)
  41. #endif // __SDP_ERROR_CODES__