Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMAPISession::Logoff

Windows Mobile 6.5
4/8/2010

The Logoff method ends a MAPI session.


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

ulUIParam

[in] Ignored.

ulFlags

[in] Ignored.

ulReserved

[in] Ignored.

This method always returns the following:

S_OK

Indicates success.

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

Headermapix.h
Librarycemapi.lib
Windows Embedded CEWindows CE 3.0 and later
Windows MobilePocket PC 2002 and later, Smartphone 2002 and later

Reference

IMAPISession

Other Resources

Messaging

Community Additions

Show:
© 2015 Microsoft