Source code of Windows XP (NT5)
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.

41 lines
2.1 KiB

  1. #ifndef _CNCODES_H_
  2. #define _CNCODES_H_
  3. const UINT CN_RC_NOERROR = 0;
  4. const UINT CN_MASK = 0xee00;
  5. const UINT CN_RC_CONFERENCE_CREATE_FAILED = (CN_MASK | 0x01);
  6. const UINT CN_RC_CONNECT_FAILED = (CN_MASK | 0x02);
  7. const UINT CN_RC_ALREADY_IN_CONFERENCE = (CN_MASK | 0x03);
  8. const UINT CN_RC_CONFERENCE_JOIN_DENIED = (CN_MASK | 0x04);
  9. const UINT CN_RC_CONFERENCE_INVITE_DENIED = (CN_MASK | 0x05);
  10. const UINT CN_RC_CONFERENCE_NAME_NEEDED = (CN_MASK | 0x06);
  11. const UINT CN_RC_CONFERENCE_LEAVE_FAILED = (CN_MASK | 0x07);
  12. const UINT CN_RC_INVALID_PASSWORD = (CN_MASK | 0x08);
  13. const UINT CN_RC_NAME_RESOLUTION_FAILED = (CN_MASK | 0x09);
  14. const UINT CN_RC_NOT_INITIALIZED = (CN_MASK | 0x0a);
  15. const UINT CN_RC_UNSPECIFIED_ERROR = (CN_MASK | 0x0b);
  16. const UINT CN_RC_CONFERENCE_DOES_NOT_EXIST = (CN_MASK | 0x0c);
  17. const UINT CN_RC_CONFERENCE_ENDED_BEFORE_JOIN = (CN_MASK | 0x0f);
  18. const UINT CN_RC_CANT_INVITE_MCU = (CN_MASK | 0x10);
  19. const UINT CN_RC_INVITE_DENIED_REMOTE_IN_CONF = (CN_MASK | 0x11);
  20. const UINT CN_RC_ALREADY_IN_CONFERENCE_MCU = (CN_MASK | 0x16);
  21. const UINT CN_RC_REMOTE_PLACING_CALL = (CN_MASK | 0x18);
  22. const UINT CN_RC_INCOMPATIBLE_REMOTE_VERSION = (CN_MASK | 0x1a);
  23. const UINT CN_RC_NO_TRANSPORTS = (CN_MASK | 0x1b);
  24. const UINT CN_RC_CANT_JOIN_ALREADY_IN_CALL = (CN_MASK | 0x1e);
  25. const UINT CN_RC_TRANSPORT_FAILURE = (CN_MASK | 0x1f);
  26. const UINT CN_RC_LOOPBACK = (CN_MASK | 0x20);
  27. const UINT CN_RC_CONFERENCE_ENDED_BEFORE_ACCEPTED = (CN_MASK | 0x22);
  28. const UINT CN_RC_CONNECT_REMOTE_NO_SECURITY = (CN_MASK | 0x27);
  29. const UINT CN_RC_CONNECT_REMOTE_DOWNLEVEL_SECURITY = (CN_MASK | 0x28);
  30. const UINT CN_RC_CONNECT_REMOTE_REQUIRE_SECURITY = (CN_MASK | 0x29);
  31. const UINT CN_RC_QUERY_FAILED = (CN_MASK | 0x2a);
  32. const UINT CN_RC_INVITE_FAILED = (CN_MASK | 0x2a);
  33. const UINT CN_RC_JOIN_FAILED = (CN_MASK | 0x2b);
  34. const UINT CN_RC_LOCAL_CANCELED = (CN_MASK | 0x2c);
  35. const UINT CN_RC_SECURITY_FAILED = (CN_MASK | 0x2d);
  36. const UINT CN_RC_CONNECT_AUTHENTICATION_FAILED = (CN_MASK | 0x2e);
  37. typedef UINT CNSTATUS;
  38. #endif // _CNCODES_H_