Share via


DMsgrSessionEvents::OnStateChanged event

[OnStateChanged is no longer available for use as of Windows Vista. See Windows Messenger for more information.]

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

Syntax

void OnStateChanged(
  [in] SESSION_STATE prevState
);

Parameters

prevState [in]

One of the possible values from the SESSION_STATE enumeration.

Return value

This event does not return a value.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
End of client support
Windows XP
End of server support
Windows Server 2003
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

OnTermination

SESSION_STATE

Messenger Lock and Key API

Messenger Session Invite and Messenger Private APIs