Partager via


IMAPISession::Logoff (Compact 7)

3/12/2014

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

See Also

Reference

IMAPISession