Called by the API to indicate that the client application is about to shut down. The shut down can be the result of local user initiative or remotely for purposes of a client upgrade that the server initiated. Scriptable.

Syntax

HRESULT OnAppShutdown(
);

Parameters

None.

Return Value

The implementer of this event handler will determine what value should be returned.

Remarks

After this event is issued, the application shuts down. Any references held become invalid and, if not deallocated, might create memory leaks.

This event is generally sent only if the client is forced to shut down to complete a mandatory upgrade, as determined during a sign-in exchange sequence. Alternatively, the client user might have affirmed a dialog box for an optional upgrade. The event will also be sent as a result of a normal client shut down of Office Communicator UI.

Comments

Requirements

Client

Requires Microsoft DirectX 9.0, C Runtime libraries (msvcm80.dll) on Microsoft Windows© Vista, Microsoft Windows XP Service Pack 1 (SP1) or later, or Microsoft Windows 2000 with Service Pack 4 (SP4). Any Communicator-imposed restrictions apply. .

Server

Requires Microsoft Office Communications Server 2007, AV MCU (for Media Support), Media Relay (for NAT/Firewall traversal) on Microsoft Office Communications Server 2007.

Product

Microsoft Office Communicator 2007 Automation API

IDL file

Msgrua.idl

See Also

Other Resources

DMsgrSessionManagerEvents