MSGRConstants Enumerated Type
Deprecated. The following are constants used for error or success returns of methods and properties of the Microsoft Windows Messenger APIs.
Note The MSGRConstants enumerated type is available for use in Windows Messenger 4.7. It might be altered or unavailable in subsequent versions of Windows Messenger. You should use MSGRConstants instead.
Syntax
typedef enum { MSGR_E_CONNECT = MSGR_E(0x0001), MSGR_E_INVALID_SERVER_NAME = MSGR_E(0x0002), MSGR_E_INVALID_PASSWORD = MSGR_E(0x0003), MSGR_E_ALREADY_LOGGED_ON = MSGR_E(0x0004), MSGR_E_SERVER_VERSION = MSGR_E(0x0005), MSGR_E_LOGON_TIMEOUT = MSGR_E(0x0006), MSGR_E_LIST_FULL = MSGR_E(0x0007), MSGR_E_AI_REJECT = MSGR_E(0x0008), MSGR_E_AI_REJECT_NOT_INST = MSGR_E(0x0009), MSGR_E_USER_NOT_FOUND = MSGR_E(0x000A), MSGR_E_ALREADY_IN_LIST = MSGR_E(0x000B), MSGR_E_DISCONNECTED = MSGR_E(0x000C), MSGR_E_UNEXPECTED = MSGR_E(0x000D), MSGR_E_SERVER_TOO_BUSY = MSGR_E(0x000E), MSGR_E_INVALID_AUTH_PACKAGES = MSGR_E(0x000F), MSGR_E_NEWER_CLIENT_AVAILABLE = MSGR_E(0x0010), MSGR_E_AI_TIMEOUT = MSGR_E(0x0011), MSGR_E_CANCEL = MSGR_E(0x0012), MSGR_E_TOO_MANY_MATCHES = MSGR_E(0x0013), MSGR_E_SERVER_UNAVAILABLE = MSGR_E(0x0014), MSGR_E_LOGON_UI_ACTIVE = MSGR_E(0x0015), MSGR_E_OPTION_UI_ACTIVE = MSGR_E(0x0016), MSGR_E_CONTACT_UI_ACTIVE = MSGR_E(0x0017), MSGR_E_PRIMARY_SERVICE_NOT_LOGGED_ON = MSGR_E(0x0018), MSGR_E_LOGGED_ON = MSGR_E(0x0019), MSGR_E_CONNECT_PROXY = MSGR_E(0x001A), MSGR_E_PROXY_AUTH = MSGR_E(0x001B), MSGR_E_PROXY_AUTH_TYPE = MSGR_E(0x001C), MSGR_E_INVALID_PROXY_NAME = MSGR_E(0x001D), MSGR_E_NOT_LOGGED_ON = MSGR_E(0x001E), MSGR_E_NOT_PRIMARY_SERVICE = MSGR_E(0x0020), MSGR_E_TOO_MANY_SESSIONS = MSGR_E(0x0021), MSGR_E_TOO_MANY_MESSAGES = MSGR_E(0x0022), MSGR_E_REMOTE_LOGIN = MSGR_E(0x0023), MSGR_E_INVALID_FRIENDLY_NAME = MSGR_E(0x0024), MSGR_E_SESSION_FULL = MSGR_E(0x0025), MSGR_E_NOT_ALLOWING_NEW_USERS = MSGR_E(0x0026), MSGR_E_INVALID_DOMAIN = MSGR_E(0x0027), MSGR_E_TCP_ERROR = MSGR_E(0x0028), MSGR_E_SESSION_TIMEOUT = MSGR_E(0x0029), MSGR_E_MULTIPOINT_SESSION_BEGIN_TIMEOUT = MSGR_E(0x002a), MSGR_E_MULTIPOINT_SESSION_END_TIMEOUT = MSGR_E(0x002b), MSGR_E_REVERSE_LIST_FULL = MSGR_E(0x002c), MSGR_E_SERVER_ERROR = MSGR_E(0x002d), MSGR_E_SYSTEM_CONFIG = MSGR_E(0x002e), MSGR_E_NO_DIRECTORY = MSGR_E(0x002f), MSGR_E_RETRY_SET = MSGR_E(0x0030), MSGR_E_CHILD_WITHOUT_CONSENT = MSGR_E(0x0031), MSGR_E_USER_CANCELLED = MSGR_E(0x0032), MSGR_E_CANCEL_BEFORE_CONNECT = MSGR_E(0x0033), MSGR_E_VOICE_IM_TIMEOUT = MSGR_E(0x0034), MSGR_E_NOT_ACCEPTING_PAGES = MSGR_E(0x0035), MSGR_E_EMAIL_PASSPORT_NOT_VALIDATED = MSGR_E(0x0036), MSGR_E_AUDIO_UI_ACTIVE = MSGR_E(0x0037), MSGR_E_NO_HARDWARE = MSGR_E(0x0038), MSGR_E_PAGING_UNAVAILABLE = MSGR_E(0x0039), MSGR_E_PHONE_INVALID_NUMBER = MSGR_E(0x003a), MSGR_E_PHONE_NO_FUNDS = MSGR_E(0x003b), MSGR_E_VOICE_NO_ANSWER = MSGR_E(0x003c), MSGR_E_VOICE_WAVEIN_DEVICE = MSGR_E(0x003d), MSGR_E_FT_TIMEOUT = MSGR_E(0x003e), MSGR_E_MESSAGE_TOO_LONG = MSGR_E(0x003f), MSGR_E_VOICE_FIREWALL = MSGR_E(0x0040), MSGR_E_VOICE_NETCONN = MSGR_E(0x0041), MSGR_E_PHONE_CIRCUITS_BUSY = MSGR_E(0x0042), MSGR_E_SERVER_PROTOCOL = MSGR_E(0x0043), MSGR_E_UNAVAILABLE_VIA_HTTP = MSGR_E(0x0044), MSGR_E_PHONE_INVALID_PIN = MSGR_E(0x0045), MSGR_E_PHONE_PINPROCEED_TIMEOUT = MSGR_E(0x0046), MSGR_E_SERVER_SHUTDOWN = MSGR_E(0x0047), MSGR_E_CLIENT_DISALLOWED = MSGR_E(0x0048), MSGR_E_PHONE_CALL_NOT_COMPLETE = MSGR_E(0x0049), MSGR_E_GROUPS_NOT_ENABLED = MSGR_E(0x004a), MSGR_E_GROUP_ALREADY_EXISTS = MSGR_E(0x004b), MSGR_E_TOO_MANY_GROUPS = MSGR_E(0x004c), MSGR_E_GROUP_DOES_NOT_EXIST = MSGR_E(0x004d), MSGR_E_USER_NOT_GROUP_MEMBER = MSGR_E(0x004e), MSGR_E_GROUP_NAME_TOO_LONG = MSGR_E(0x004f), MSGR_E_GROUP_NOT_EMPTY = MSGR_E(0x0050), MSGR_E_BAD_GROUP_NAME = MSGR_E(0x0051), MSGR_E_PHONESERVICE_UNAVAILABLE = MSGR_E(0x0052), MSGR_E_CANNOT_RENAME = MSGR_E(0x0053), MSGR_E_CANNOT_DELETE = MSGR_E(0x0054), MSGR_E_INVALID_SERVICE = MSGR_E(0x0055), MSGR_E_POLICY_RESTRICTED = MSGR_E(0x0056), MSGR_E_BUSY = MSGR_E(0x0057), MSGR_E_DNS_SRV_FAIL = MSGR_E(0x0058), MSGR_E_DNS_A_RES_FAIL = MSGR_E(0x0059), MSGR_E_NO_SERVER_ADDRESS_SPECIFIED = MSGR_E(0x0060), MSGR_E_TLS_FAIL = MSGR_E(0x0061), MSGR_E_INCOMPATIBLE_ENCRYPTION = MSGR_E(0x0062), MSGR_E_SSL_TUNNEL_FAILED = MSGR_E(0x0063), MSGR_E_SIP_TIMEOUT = MSGR_E(0x0064), MSGR_E_INCOMPATIBLE_IM = MSGR_E(0x0065), MSGR_E_MIM_ADD_TO_CONTACTS_FAIL = MSGR_E(0x0066), MSGR_E_INVALID_ADDRESS_FORMAT = MSGR_E(0x0067), MSGR_E_INVALID_CERTIFICATE = MSGR_E(0x0068), MSGR_E_AUTH_TIME_SKEW = MSGR_E(0x0069), MSGR_E_CHANGED_CREDENTIALS = MSGR_E(0x0070), MSGR_E_SIP_LOGIN_FORBIDDEN = MSGR_E(0x0071), MSGR_E_SIP_HIGH_SECURITY_SET_TLS = MSGR_E(0x0072), MSGR_E_CALLEE_INSUFFICIENT_SECURITY_LEVEL = MSGR_E(0x0073), MSGR_E_CALLER_PEER2PEER_CALLS_NOT_ALLOWED = MSGR_E(0x0074), MSGR_E_SIP_UDP_UNSUPPORTED = MSGR_E(0x0075), MSGR_E_SIP_SEARCH_FORBIDDEN = MSGR_E(0x0076), MSGR_E_SESSION_RESTRICTED = MSGR_E(0x0080), MSGR_E_MANAGED_USER_INVALID_CVR = MSGR_E(0x0081), MSGR_E_RESTRICTED_USER = MSGR_E(0x0082), MSGR_E_PROXY_AUTH_REQUIRED = MSGR_E(0x0083), MSGR_E_PROXY_REALM_MISMATCH = MSGR_E(0x0084), MSGR_E_PROXY_PASSWORD_INCORRECT = MSGR_E(0x0085), MSGR_E_RESTRICTED_USER_LOGON_RESTRICED = MSGR_E(0x0086), MSGR_E_IE_OFFLINE = MSGR_E(0x0086), MSGR_E_IE_CANT_CONNECT = MSGR_E(0x0088), MSGR_S_ALREADY_IN_THE_MODE = MSGR_S(0x0001), MSGR_S_TRANSFER_SEND_BEGUN = MSGR_S(0x0002), MSGR_S_TRANSFER_SEND_FINISHED = MSGR_S(0x0003), MSGR_S_TRANSFER_RECEIVE_BEGUN = MSGR_S(0x0004), MSGR_S_TRANSFER_RECEIVE_FINISHED = MSGR_S(0x0005), MSGR_S_GROUP_ALREADY_EXISTS = MSGR_S(0x0006), MSGR_E_FAIL = E_FAIL, MSGR_S_OK = S_OK } MSGRConstants;
Constants
MSGR_E_CONNECT
Error connecting to the server.MSGR_E_INVALID_SERVER_NAME
Name of the server that the client is trying to connect to is invalid.MSGR_E_INVALID_PASSWORD
Password specified for the user is invalid.MSGR_E_ALREADY_LOGGED_ON
Attempt to log on when the user is already signed in.MSGR_E_SERVER_VERSION
Version of the server that the client is trying to connect to is incompatible.MSGR_E_LOGON_TIMEOUT
Attempt to sign in timed out.MSGR_E_LIST_FULL
Contact list is full or has reached the maximum limit.MSGR_E_AI_REJECT
Internal use only. This error code is never returned to a user.MSGR_E_AI_REJECT_NOT_INST
Internal use only. This error code is never returned to a user.MSGR_E_USER_NOT_FOUND
Specified user is not found on the specified service.MSGR_E_ALREADY_IN_LIST
Attempt to add a contact that is already in the contact list.MSGR_E_DISCONNECTED
Client is disconnected from the network.MSGR_E_UNEXPECTED
Unexpected error occurred.MSGR_E_SERVER_TOO_BUSY
Server is too busy to handle the specified request.MSGR_E_INVALID_AUTH_PACKAGES
Not supported.MSGR_E_NEWER_CLIENT_AVAILABLE
Newer version of the client is available to download.MSGR_E_AI_TIMEOUT
Not supported.MSGR_E_CANCEL
User cancelled the operation in progress.MSGR_E_TOO_MANY_MATCHES
Not supported.MSGR_E_SERVER_UNAVAILABLE
Server is unavailable to handle the specified request.MSGR_E_LOGON_UI_ACTIVE
Sign in user interface (UI) is active and expecting user input.MSGR_E_OPTION_UI_ACTIVE
Options dialog is active and waiting for user input.MSGR_E_CONTACT_UI_ACTIVE
Add a contact wizard is active and waiting for user input.MSGR_E_PRIMARY_SERVICE_NOT_LOGGED_ON
Client is not signed in to primary service.MSGR_E_LOGGED_ON
User is already signed in.MSGR_E_CONNECT_PROXY
Error connecting the proxy.MSGR_E_PROXY_AUTH
Not supported.MSGR_E_PROXY_AUTH_TYPE
Not supported.MSGR_E_INVALID_PROXY_NAME
Specified proxy name is invalid.MSGR_E_NOT_LOGGED_ON
User is not logged on to the client.MSGR_E_NOT_PRIMARY_SERVICE
Specified service is not the primary service.MSGR_E_TOO_MANY_SESSIONS
Maximum number of sessions that can be opened has been reached.MSGR_E_TOO_MANY_MESSAGES
Not supported.MSGR_E_REMOTE_LOGIN
User signed in on a computer and also signed in from another (remote) computer.MSGR_E_INVALID_FRIENDLY_NAME
Friendly name specified is not valid, for example user@microsoft.com (@microsoft.com is not part of a friendly name).MSGR_E_SESSION_FULL
Number of participants allowed for the session has been reached.MSGR_E_NOT_ALLOWING_NEW_USERS
Not supported.MSGR_E_INVALID_DOMAIN
Not supported.MSGR_E_TCP_ERROR
Not supported.MSGR_E_SESSION_TIMEOUT
Session timed out.MSGR_E_MULTIPOINT_SESSION_BEGIN_TIMEOUT
Not supported.MSGR_E_MULTIPOINT_SESSION_END_TIMEOUT
Not supported.MSGR_E_REVERSE_LIST_FULL
Reverse contact list is full.MSGR_E_SERVER_ERROR
Unspecified server error.MSGR_E_SYSTEM_CONFIG
Not supported.MSGR_E_NO_DIRECTORY
Not supported.MSGR_E_RETRY_SET
Not supported.MSGR_E_CHILD_WITHOUT_CONSENT
Not supported.MSGR_E_USER_CANCELLED
User cancelled a specified operation such as a sign in.MSGR_E_CANCEL_BEFORE_CONNECT
User cancelled a specified operation before the connection was established.MSGR_E_VOICE_IM_TIMEOUT
Voice Instant Messaging Service (IM) session timed out.MSGR_E_NOT_ACCEPTING_PAGES
Not supported.MSGR_E_EMAIL_PASSPORT_NOT_VALIDATED
Not supported.MSGR_E_AUDIO_UI_ACTIVE
Audio UI (voice configuration wizard) is active and waiting for user input.MSGR_E_NO_HARDWARE
Not supported.MSGR_E_PAGING_UNAVAILABLE
Paging is not supported for this client.MSGR_E_PHONE_INVALID_NUMBER
Specified phone number is invalid.MSGR_E_PHONE_NO_FUNDS
Not supported.MSGR_E_VOICE_NO_ANSWER
Not supported.MSGR_E_VOICE_WAVEIN_DEVICE
Not supported.MSGR_E_FT_TIMEOUT
Not supported.>MSGR_E_MESSAGE_TOO_LONG
Message being sent is too long.MSGR_E_VOICE_FIREWALL
Not supported.MSGR_E_VOICE_NETCONN
Not supported.MSGR_E_PHONE_CIRCUITS_BUSY
Not supported.MSGR_E_SERVER_PROTOCOL
Not supported.MSGR_E_UNAVAILABLE_VIA_HTTP
Not supported.MSGR_E_PHONE_INVALID_PIN
Not supported.MSGR_E_PHONE_PINPROCEED_TIMEOUT
Not supported.MSGR_E_SERVER_SHUTDOWN
Windows Messenger signed out due to server shutdown.MSGR_E_CLIENT_DISALLOWED
Not supported.MSGR_E_PHONE_CALL_NOT_COMPLETE
Not supported.MSGR_E_GROUPS_NOT_ENABLED
Groups are not enabled on this service.MSGR_E_GROUP_ALREADY_EXISTS
New group specified already exists on the specified provider.MSGR_E_TOO_MANY_GROUPS
More groups cannot be created because the provider has reached the maximum limit.MSGR_E_GROUP_DOES_NOT_EXIST
Specified group name does not exist.MSGR_E_USER_NOT_GROUP_MEMBER
Specified user is not a member of the specified group.MSGR_E_GROUP_NAME_TOO_LONG
Specified group name is longer than the allowed limit.MSGR_E_GROUP_NOT_EMPTY
Group cannot be deleted because it has contacts in it.MSGR_E_BAD_GROUP_NAME
Specified group name is not valid.MSGR_E_PHONESERVICE_UNAVAILABLE
Phone service is not enabled.MSGR_E_CANNOT_RENAME
Specified group cannot be renamed.MSGR_E_CANNOT_DELETE
Specified contact or group cannot be deleted.MSGR_E_INVALID_SERVICE
Specified contact or group does not belong to the specified service.MSGR_E_POLICY_RESTRICTED
Operation cannot be performed because of policy restrictions.MSGR_E_BUSY
Not supported.MSGR_E_DNS_SRV_FAIL
Not supported.MSGR_E_DNS_A_RES_FAIL
Not supported.MSGR_E_NO_SERVER_ADDRESS_SPECIFIED
Not supported.MSGR_E_TLS_FAIL
Transport Layer Security (TLS) connection failed.MSGR_E_INCOMPATIBLE_ENCRYPTION
Not supported.MSGR_E_SSL_TUNNEL_FAILED
Not supported.MSGR_E_SIP_TIMEOUT
Session Initiation Protocol (SIP) connection attempt timed out.MSGR_E_INCOMPATIBLE_IM
Client versions are incompatible.MSGR_E_MIM_ADD_TO_CONTACTS_FAIL
Cannot add more contacts to MIM conversation.MSGR_E_INVALID_ADDRESS_FORMAT
Specified user address is in an invalid format.MSGR_E_INVALID_CERTIFICATE
Client does not have a valid certificate to connect over TLS.MSGR_E_AUTH_TIME_SKEW
Not supported.MSGR_E_CHANGED_CREDENTIALS
User logon credentials are different from the stored ones.MSGR_E_SIP_LOGIN_FORBIDDEN
SIP logon for the user is forbidden.MSGR_E_SIP_HIGH_SECURITY_SET_TLS
Not supported.MSGR_E_CALLEE_INSUFFICIENT_SECURITY_LEVEL
Not supported.MSGR_E_CALLER_PEER2PEER_CALLS_NOT_ALLOWED
Not supported.MSGR_E_SIP_UDP_UNSUPPORTED
User Datagram Protocol (UDP) is not supported on the specified server.MSGR_E_SIP_SEARCH_FORBIDDEN
User search is forbidden on SIP.MSGR_E_SESSION_RESTRICTED
Not supported.MSGR_E_MANAGED_USER_INVALID_CVR
Not supported.MSGR_E_RESTRICTED_USER
Attempt to invite a user who is not on the contact list.MSGR_E_PROXY_AUTH_REQUIRED
Not supported.MSGR_E_PROXY_REALM_MISMATCH
Not supported.MSGR_E_PROXY_PASSWORD_INCORRECT
Not supported.MSGR_E_RESTRICTED_USER_LOGON_RESTRICED
Not supported.MSGR_E_IE_OFFLINE
Microsoft Internet Explorer is working in offline mode.MSGR_E_IE_CANT_CONNECT
Internet Explorer cannot connect to the network.MSGR_S_ALREADY_IN_THE_MODE
Not supported.MSGR_S_TRANSFER_SEND_BEGUN
Not supported.MSGR_S_TRANSFER_SEND_FINISHED
Not supported.MSGR_S_TRANSFER_RECEIVE_BEGUN
Not supported.MSGR_S_TRANSFER_RECEIVE_FINISHED
Not supported.MSGR_S_GROUP_ALREADY_EXISTS
Group specified to be created already exists on the specified provider.MSGR_E_FAIL
General failure.MSGR_S_OK
Success.
Remarks
Important MSGRConstants is no longer available in Windows Vista. See Windows Messenger for more information.
Enumerated Type Information
Header and IDL files mdisp.h, mdisp.idl