IMAPIClientShutdown::DoFastShutdown
Applies to: Outlook 2013 | Outlook 2016
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.