DMsgrSessionEvents::OnCancelled Event

Deprecated. Fires when the session has been canceled by the inviter.

Syntax

void OnCancelled(      
    BSTR bstrAppData
);

Parameters

  • bstrAppData
    BSTR that corresponds to a value provided by an application's invocation of the IMsgrSession::Cancel method.

Return Value

No return value.

Event DISPID

DISPID_ONCANCELLED

The DISPID for this event is defined in msgrpriv.h. Use this value to identify the event handler when implementing IDispatch::Invoke.

Remarks

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

See Also

DMsgrSessionEvents::OnAccepted, DMsgrSessionEvents::OnAppNotPresent, DMsgrSessionEvents::OnContextData, DMsgrSessionEvents::OnDeclined, DMsgrSessionEvents::OnReadyToLaunch, DMsgrSessionEvents::OnSendError, DMsgrSessionEvents::OnStateChanged, DMsgrSessionEvents::OnTermination, IMsgrSession::Cancel, Messenger Lock and Key API, Messenger Session Invite and Messenger Private APIs