Share via


IMsgrSession Interface

Deprecated. The IMsgrSession interface provides programmatic access to the MsgrSession object.

IMsgrSession Members

Accept Recipient accepts the invitation.
Application Obtains the application's GUID set by the inviter for this session from the registry.
ApplicationName Retrieves a value that indicates the application name.
ApplicationURL Retrieves a value that indicates the application's URL from the registry.
Cancel Inviter cancels the invitation.
ContextData Retrieves a value that indicates the application-specific context data.
Decline Recipient declines the invitation.
Flags Retrieves a value that indicates the session flags.
Invite Invites a user to the current session.
LocalAddress Sets or retrieves the Internet Protocol (IP) address of the session.
RemoteAddress Retrieves a value that indicates the IP address of the other party in the session.
SendContextData Sends application-specific context data.
SessionID Retrieves a value that indicates the session ID.
State Retrieves a value that indicates the current state of the session.
User Retrieves a pointer to an IDispatch World Wide Web link of a MessengerContact object.

Remarks

Important  IMsgrSession is no longer available in Windows Vista. See Windows Messenger for more information.

Interface Information

Stock Implementation msgsc.dll
Custom Implementation No
Inherits from IDispatch World Wide Web link
Header and IDL files msgrpriv.h, msgrpriv.idl
Minimum availability Messenger 4.0
Minimum operating systems Windows 95, Windows NT 4.0 (requires Internet Explorer 5.0 or later)

See Also

MsgrSession, Messenger Session Invite and Messenger Private APIs, Messenger Lock and Key API