IMAPIClientShutdown::DoFastShutdown

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Indicates the intention of the MAPI client to exit the client process immediately.

HRESULT DoFastShutdown ();

Return Value

  • S_OK
    The MAPI subsystem has indicated to loaded MAPI providers that the MAPI client is exiting immediately, and the MAPI providers are ready for the client exit.

  • MAPI_E_NO_SUPPORT
    The MAPI subsystem does not support client fast shutdown.

Remarks

To avoid data loss from the fast shutdown of a MAPI client, MAPI clients should call the IMAPIClientShutdown::NotifyProcessShutdown and IMAPIClientShutdown::DoFastShutdown methods based on the S_OK result returned by the MAPI subsystem in the IMAPIClientShutdown::QueryFastShutdown method. For more information, see Best Practices for Fast Shutdown.

See Also

Reference

IMAPIClientShutdown : IUnknown

Concepts

Client Shutdown in MAPI