IMAPIOffline::GetCurrentState

Applies to: Outlook 2013 | Outlook 2016

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

IMAPIOffline::GetCapabilities

IMAPIOffline::SetCurrentState

MAPI Constants