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

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

See Also

IMAPISession

Messaging

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.