Export (0) Print
Expand All

DMsgrSessionEvents::OnTermination Event

[OnTermination is no longer available in Windows Vista. See Windows Messenger for more information.]

Fires when the session has ended.

Syntax

void OnTermination(
  [in]  long hr,
  [in]  BSTR bstrAppData
);

Parameters

hr [in]

HRESULT that defines the return code for the operation.

bstrAppData [in]

BSTR that corresponds to a value provided by an application's invocation of the Decline method or Cancel method.

Return Value

This event does not return a value.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Product

Messenger 4.5

Header

Msgrpriv.h

IDL

Msgrpriv.idl

DLL

Msnmsgrexe.adeb440d_7847_4f65_80bd_899870ed2ec9

See Also

DMsgrSessionEvents
OnAccepted
OnAppNotPresent
OnCancelled
OnContextData
OnDeclined
OnReadyToLaunch
OnSendError
OnStateChanged
Decline
Cancel
Messenger Lock and Key API
Messenger Session Invite and Messenger Private APIs

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2010

Community Additions

ADD
Show:
© 2014 Microsoft