Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
3.0 KiB

  1. #ifndef _CNCODES_H_
  2. #define _CNCODES_H_
  3. const UINT_PTR CN_RC_NOERROR = 0;
  4. const UINT_PTR CN_MASK = 0xee00;
  5. const UINT_PTR CN_RC_CONFERENCE_CREATE_FAILED = (CN_MASK | 0x01);
  6. const UINT_PTR CN_RC_CONNECT_FAILED = (CN_MASK | 0x02);
  7. const UINT_PTR CN_RC_ALREADY_IN_CONFERENCE = (CN_MASK | 0x03);
  8. const UINT_PTR CN_RC_CONFERENCE_JOIN_DENIED = (CN_MASK | 0x04);
  9. const UINT_PTR CN_RC_CONFERENCE_INVITE_DENIED = (CN_MASK | 0x05);
  10. const UINT_PTR CN_RC_CONFERENCE_NAME_NEEDED = (CN_MASK | 0x06);
  11. const UINT_PTR CN_RC_CONFERENCE_LEAVE_FAILED = (CN_MASK | 0x07);
  12. const UINT_PTR CN_RC_INVALID_PASSWORD = (CN_MASK | 0x08);
  13. const UINT_PTR CN_RC_NAME_RESOLUTION_FAILED = (CN_MASK | 0x09);
  14. const UINT_PTR CN_RC_NOT_INITIALIZED = (CN_MASK | 0x0a);
  15. const UINT_PTR CN_RC_UNSPECIFIED_ERROR = (CN_MASK | 0x0b);
  16. const UINT_PTR CN_RC_CONFERENCE_DOES_NOT_EXIST = (CN_MASK | 0x0c);
  17. const UINT_PTR CN_RC_AUDIO_CONNECT_FAILED = (CN_MASK | 0x0d);
  18. const UINT_PTR CN_RC_AUDIO_FAILED_AFTER_DATA = (CN_MASK | 0x0e);
  19. const UINT_PTR CN_RC_CONFERENCE_ENDED_BEFORE_JOIN = (CN_MASK | 0x0f);
  20. const UINT_PTR CN_RC_CANT_INVITE_MCU = (CN_MASK | 0x10);
  21. const UINT_PTR CN_RC_INVITE_DENIED_REMOTE_IN_CONF = (CN_MASK | 0x11);
  22. const UINT_PTR CN_RC_AUDIO_IN_USE_REMOTE_AFTER_DATA = (CN_MASK | 0x12);
  23. const UINT_PTR CN_RC_AUDIO_IN_USE_REMOTE = (CN_MASK | 0x13);
  24. const UINT_PTR CN_RC_AUDIO_IN_USE_LOCAL_AFTER_DATA = (CN_MASK | 0x14);
  25. const UINT_PTR CN_RC_AUDIO_IN_USE_LOCAL = (CN_MASK | 0x15);
  26. const UINT_PTR CN_RC_ALREADY_IN_CONFERENCE_MCU = (CN_MASK | 0x16);
  27. const UINT_PTR CN_RC_AUDIO_NOT_AVAILABLE = (CN_MASK | 0x17);
  28. const UINT_PTR CN_RC_REMOTE_PLACING_CALL = (CN_MASK | 0x18);
  29. const UINT_PTR CN_RC_INCOMPATIBLE_REMOTE_VERSION = (CN_MASK | 0x1a);
  30. const UINT_PTR CN_RC_NO_TRANSPORTS = (CN_MASK | 0x1b);
  31. const UINT_PTR CN_RC_CANT_JOIN_ALREADY_IN_CALL = (CN_MASK | 0x1e);
  32. const UINT_PTR CN_RC_TRANSPORT_FAILURE = (CN_MASK | 0x1f);
  33. const UINT_PTR CN_RC_LOOPBACK = (CN_MASK | 0x20);
  34. const UINT_PTR CN_RC_CONFERENCE_ENDED_BEFORE_ACCEPTED = (CN_MASK | 0x22);
  35. const UINT_PTR CN_RC_GK_CALLEE_NOT_REGISTERED = (CN_MASK | 0x23);
  36. const UINT_PTR CN_RC_GK_TIMEOUT = (CN_MASK | 0x24);
  37. const UINT_PTR CN_RC_GK_REJECTED = (CN_MASK | 0x25);
  38. const UINT_PTR CN_RC_GK_NOT_REGISTERED = (CN_MASK | 0x26);
  39. const UINT_PTR CN_RC_CONNECT_REMOTE_NO_SECURITY = (CN_MASK | 0x27);
  40. const UINT_PTR CN_RC_CONNECT_REMOTE_DOWNLEVEL_SECURITY = (CN_MASK | 0x28);
  41. const UINT_PTR CN_RC_CONNECT_REMOTE_REQUIRE_SECURITY = (CN_MASK | 0x29);
  42. const UINT_PTR CN_RC_QUERY_FAILED = (CN_MASK | 0x2a);
  43. const UINT_PTR CN_RC_INVITE_FAILED = (CN_MASK | 0x2a);
  44. const UINT_PTR CN_RC_JOIN_FAILED = (CN_MASK | 0x2b);
  45. const UINT_PTR CN_RC_LOCAL_CANCELED = (CN_MASK | 0x2c);
  46. const UINT_PTR CN_RC_SECURITY_FAILED = (CN_MASK | 0x2d);
  47. const UINT_PTR CN_RC_CONNECT_AUTHENTICATION_FAILED = (CN_MASK | 0x2e);
  48. typedef UINT_PTR CNSTATUS;
  49. #endif // _CNCODES_H_