Share via


IMAPISession::Logoff

Send Feedback

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: Pocket PC 2002 and later
Smartphone: Smartphone 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

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.