About the Sample Offline State Add-in

About the Sample Offline State Add-in

The Offline State API supports callbacks indicating changes in a user's connection state in Outlook—for example, from being online in Outlook to being offline. The Sample Offline State Add-in is a COM add-in written in C++ that demonstrates how to receive notifications of connection state changes and how to modify the current state using the Offline State API. For more information about the Offline State API, see About the Offline State API.

In This Section

Installing the Sample Offline State Add-in

Explains how to download and install the Sample Offline State Add-in.

Setting Up an Offline State Add-in

Describes how to implement connection, initialization, and setup functions in order to use an offline state add-in.

Monitoring Connection State Changes Using an Offline State Add-in

Describes how to use the HrOpenOfflineObj function to obtain an offline object to monitor and change the connection state.

Disconnecting an Offline State Add-in

Describes how to properly terminate and clean up an offline state add-in when the add-in is disconnected.

See Also

About the Offline State API