IABLogon::Logoff

Applies to: Outlook 2013 | Outlook 2016

Initiates the logoff process.

HRESULT Logoff(
  ULONG ulFlags
);

Parameters

ulFlags

[in] Reserved; must be zero.

Return value

S_OK

The logoff process was successfully initiated.

Remarks

The logoff process is typically started when a client calls the IMAPISession::Logoff method to end a session. MAPI then calls each address book provider's IABLogon::Logoff method to start the logoff process.

The IABLogon::Logoff method does the following:

  • Releases all open objects, such as any subobjects or the status object.

  • Releases the provider's support object.

For more information about the logoff process of address book providers, see Shutting Down a Service Provider.

See also

IABProvider::Logon

IABLogon : IUnknown