About the Sample Offline State Add-in
Applies to: Office 2010 | Outlook 2010 | Visual Studio
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
Explains how to download and install the Sample 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.
Describes how to properly terminate and clean up an offline state add-in when the add-in is disconnected.