Share via


IMAPIOffline::GetCurrentState

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Gets the current online or offline state of an offline object.

HRESULT GetCurrentState( 
    ULONG* pulState 
);

Parameters

  • pulState
    [out] The current online or offline state of an offline object. It must be one of these two values:

    • MAPIOFFLINE_STATE_ONLINE

    • MAPIOFFLINE_STATE_OFFLINE

See Also

Reference

IMAPIOffline::GetCapabilities

IMAPIOffline::SetCurrentState

Concepts

MAPI Constants