DMsgrSessionEvents::OnAccepted Event

Deprecated. Fires when the recipient has accepted the invitation.

Syntax

void OnAccepted(      
    BSTR bstrAppData
);

Parameters

  • bstrAppData
    BSTR that corresponds to a value provided by a Messenger client when it invokes the IMsgrSession::Accept method.

Return Value

No return value.

Event DISPID

DISPID_ONACCEPTED

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

See Also

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