Compartilhar via


IMAPISession::Logoff

4/8/2010

The Logoff method ends a MAPI session.

Syntax

HRESULT Logoff (
  ULONG ulUIParam,
  ULONG ulFlags,
  ULONG ulReserved
);

Parameters

  • ulUIParam
    [in] Ignored.
  • ulFlags
    [in] Ignored.
  • ulReserved
    [in] Ignored.

Return Value

This method always returns the following:

  • S_OK
    Indicates success.

Remarks

When Logoff returns, release the session object by calling its Release method.

Requirements

Header mapix.h
Library cemapi.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also

Reference

IMAPISession

Other Resources

Messaging