Send Feedback

The ShutDown method is called by Messaging to shut down the transport.


HRESULT ShutDown (
  DWORD dwReserved


  • dwReserved
    [in] Reserved; set to zero.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    Indicates success.


If ShutDown gets called while the transport is synchronizing in another thread, the transport should stop synchronizing.


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

See Also

IMailSyncHandler | Messaging

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.