Office 2013 and later

Last modified: July 23, 2011

Applies to: Outlook

Queries the MAPI provider for fast shutdown support.

HRESULT QueryFastShutdown ();


The MAPI provider supports the MAPI client to do fast shutdown.


The MAPI provider does not support the MAPI client to do fast shutdown.

MAPI providers that do not need to support client fast shutdown should still implement the IMAPIProviderShutdown interface, and have the IMAPIProviderShutdown::QueryFastShutdown method return MAPI_E_NO_SUPPORT. For Outlook as a MAPI client, this causes Outlook to wait for all external references to be released before it exits.

Depending on the user's Windows registry setting for fast shutdown, not implementing the IMAPIProviderShutdown interface does not necessarily prevent a client fast shutdown.