Compartir a través de


IABLogon::Logoff

Applies to: Office 2010 | Outlook 2010 | Visual Studio

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