IABLogon::Logoff

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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

Reference

IABProvider::Logon

IABLogon : IUnknown