DMsgrSessionEvents Dispinterface

Deprecated. The DMessengerPrivateEvents dispinterface fires events in the Messenger client when notifications from IMsgrSession are received.

DMsgrSessionEvents Members

Event name Description #define for the event (for use when implementing IDispatch::Invoke)
BeforeAppLaunch Fires when the session's application is about to be launched. DISPID_BEFOREAPPLAUNCH
OnAccepted Fires when the recipient has accepted the invitation. DISPID_ONACCEPTED
OnAppNotPresent Fires when the application requested by the invitation is not present. DISPID_ONAPPNOTPRESENT
OnCancelled Fires when the session has been canceled by the inviter. DISPID_ONCANCELLED
OnContextData Fires when new context data has arrived. DISPID_ONCONTEXTDATA
OnDeclined Fires when the recipient has declined the invitation. DISPID_ONDECLINED
OnReadyToLaunch Fires when the session is approved to start. DISPID_ONREADYTOLAUNCH
OnSendError Fires when the last operation fails when sending. DISPID_ONSENDERROR
OnStateChanged Fires when the session state has changed from the previous state. DISPID_ONSTATECHANGED
OnTermination Fires when the session has ended. DISPID_ONTERMINATION

Remarks

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

Interface Information

Stock Implementation msnmsgrexe.adeb440d_7847_4f65_80bd_899870ed2ec9
Custom Implementation No
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

DMessengerPrivateEvents, IMsgrSession, Messenger Lock and Key API, Messenger Session Invite and Messenger Private APIs