DMsgrSessionEvents::OnDeclined Event

Deprecated. Fires when the recipient has declined the invitation.

Syntax

void OnDeclined(      
    BSTR bstrAppData
);

Parameters

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

Return Value

No return value.

Event DISPID

DISPID_ONDECLINED

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::OnDeclined is no longer available in Windows Vista. See Windows Messenger for more information.

See Also

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