MSGRConstants enumeration

[MSGRConstants is no longer available for use as of Windows Vista. See Windows Messenger for more information.]

Do not use. The following are constants used for error and success returns of methods and properties of the Windows Messenger APIs.

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_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
} LockError;

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

For internal use only. This error code is never returned to the user.

MSGR_E_AI_REJECT_NOT_INST

For internal use only. This error code is never returned to the 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 UI is active and expecting user's 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 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_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

Not all HRESULT values originate directly from Windows Messenger API calls. They can originate from user action in the interface or through internal API calls.

Requirements

End of client support
Windows XP
End of server support
Windows Server 2003
Header
Msgrua.h
IDL
Msgrua.idl