Share via


IMSLogon::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.

Logs off a message store provider.

HRESULT Logoff(
  ULONG FAR * lpulFlags
);

Parameters

  • lpulFlags
    [in] Reserved; must be a pointer to zero.

Return Value

  • S_OK
    The call succeeded and has returned the expected value or values.

Remarks

Message store providers implement the IMSLogon::Logoff method to forcibly shut down a message store provider. IMSLogon::Logoff is called in the following situations:

  • While MAPI is logging off a client after a call to the IMAPISession::Logoff method.

  • While MAPI is logging off a message store provider. In this case, IMSLogon::Logoff is called as part of MAPI processing the IUnknown::Release method of the support object that the message store provider creates while it is processing an IMsgStore::StoreLogoff or IUnknown::Release method call on a message store object.

See Also

Reference

IMAPISession::Logoff

IMAPISupport : IUnknown

IMsgStore::StoreLogoff

IMSProvider::Logon

MAPIFreeBuffer

IMSLogon : IUnknown