IMAPIOffline::GetCapabilities [Outlook 2003 API Reference]
Gets the conditions for which callbacks are supported by an offline object.
HRESULT GetCapabilities( ULONG *pulCapabilities );
- [out] A bitmask of the following capability flags:
- The offline object is capable of providing offline notifications.
- The offline object is capable of providing online notifications.
Upon opening an offline object using HrOpenOfflineObj, a client can query on IMAPIOfflineMgr to obtain a pointer to an IMAPIOffline interface, and call IMAPIOffline::GetCapabilities to find out the callbacks supported by the object. The client can then choose to set up callbacks by using IMAPIOfflineMgr.
Note that, depending on the mail server for an offline object, an object that supports callbacks for going online does not necessarily support callbacks for going offline.
Also note that, while an offline object may support callbacks for changes other than online/offline, the Offline State API supports only online/offline changes, and clients must check for only such capabilities.
- Constants for the Offline State API