DMsgrSessionEvents::OnStateChanged Event

Deprecated. Fires when the session state has changed from the previous state.

Syntax

void OnStateChanged(      
    SESSION_STATE prevState
);

Parameters

  • prevState
    [in] One of the possible values from the SESSION_STATE enumeration.

Return Value

No return value.

Event DISPID

DISPID_ONSTATECHANGED

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

See Also

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