Share via


IMAPISession::Logoff

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 Values

This method always returns the following:

  • S_OK
    Indicates success.

Remarks

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

Requirements

Pocket PC: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Header: mapix.h
Library: cemapi.lib

See Also

IMAPISession

Messaging

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.