SESSION_RESULT Enumerated Type
Deprecated. Provides the list of possible result codes of the session invitation.
Syntax
typedef enum { SR_APPLICATION_LAUNCH_FAILED = 0x81000601, SR_INVITATION_DECLINED = 0x81000602, SR_CONNECTION_FAILURE = 0x81000603, SR_AUTHENTICATION_FAILED = 0x81000604, SR_SESSION_NOT_READY = 0x81000605, SR_SESSION_CANCELLED_LOCAL = 0x81000606, SR_SESSION_CANCELLED_REMOTE = 0x81000607, SR_SESSION_PROTOCOL_ERROR = 0x81000608, SR_SESSION_TIMEOUT = 0x81000609, SR_CANCEL_BEFORE_CONNECT = 0x8100060a, SR_NOT_INVITEE = 0x8100060b, SR_NOT_INVITER = 0x8100060c, SR_APP_ALREADY_REGISTERED = 0x8100060d, SR_APP_NOT_REGISTERED = 0x8100060e, SR_NOT_VALID_FOR_APP_INVITE = 0x8100060f, SR_APP_NOT_SPECIFIED = 0x81000610, SR_CONTEXT_DATA_OVER_LIMIT = 0x81000611, SR_NO_USER_INVITED = 0x81000612, SR_INVITED_SELF = 0x81000613, SR_SESSION_STATE_INVALID = 0x81000614, SR_INVITATION_SEND_FAILURE = 0x81000615, SR_CANCEL_SEND_FAILURE = 0x81000616, SR_DECLINE_SEND_FAILURE = 0x81000617, SR_ACCEPT_SEND_FAILURE = 0x81000618, SR_CONTEXT_DATA_SEND_FAILURE = 0x81000619, SR_NETWORK_CONFIG_FAILURE = 0x81000620, SR_NET_NOT_SUPPORTED = 0x81000621, SR_REMOTE_NET_NOT_SUPPORTED = 0x81000622, SR_FIREWALL_NOT_SUPPORTED = 0x81000623, SR_OLD_SIP_STACK = 0x81000624 } SESSION_RESULT;
Constants
SR_APPLICATION_LAUNCH_FAILED
The application failed to start.SR_INVITATION_DECLINED
The invitation was declined by the recipient.SR_CONNECTION_FAILURE
Connection failure.SR_AUTHENTICATION_FAILED
The authentication failed.SR_SESSION_NOT_READY
The session is not ready.SR_SESSION_CANCELLED_LOCAL
The local session canceled.SR_SESSION_CANCELLED_REMOTE
The session is remotely canceled.SR_SESSION_PROTOCOL_ERROR
Protocol error.SR_SESSION_TIMEOUT
The session timed out.SR_CANCEL_BEFORE_CONNECT
The session canceled before the connection was made.SR_NOT_INVITEE
The recipient is not the invitee.SR_NOT_INVITER
The recipient is not the inviter.SR_APP_ALREADY_REGISTERED
The application is already registered.SR_APP_NOT_REGISTERED
The application is not registered.SR_NOT_VALID_FOR_APP_INVITE
The application does not allow a session to be created.SR_APP_NOT_SPECIFIED
The application is not specified for the session.SR_CONTEXT_DATA_OVER_LIMIT
The context data exceeds the maximum allowed.SR_NO_USER_INVITED
No user invited.SR_INVITED_SELF
The inviter invited self.SR_SESSION_STATE_INVALID
The session state is invalid.SR_INVITATION_SEND_FAILURE
Send failure.SR_CANCEL_SEND_FAILURE
The send failure was canceled.SR_DECLINE_SEND_FAILURE
The send failure was declined.SR_ACCEPT_SEND_FAILURE
The send failure was accepted.SR_CONTEXT_DATA_SEND_FAILURE
The context data sent failed.SR_NETWORK_CONFIG_FAILURE
A network configuration operation failed.SR_NET_NOT_SUPPORTED
An unsupported network was encountered.SR_REMOTE_NET_NOT_SUPPORTED
An unsupported remote network was encountered.SR_FIREWALL_NOT_SUPPORTED
An unsupported firewall was encountered.SR_OLD_SIP_STACK
The Session Initiation Protocol (SIP) stack is out of date.
Remarks
Important LockStatus is no longer available in Windows Vista. See Windows Messenger for more information.
Enumerated Type Information
Header and IDL files msgrpriv.h, msgrpriv.idl Minimum availability Messenger 4.5 Minimum operating systems Windows 95, Windows NT 4.0 (requires Internet Explorer 5.0 or later)
See Also
Messenger Session Invite and Messenger Private APIs, Messenger Lock and Key API