This documentation is archived and is not being maintained.


Last modified: June 10, 2009

Applies to: Office 2010 | Outlook 2010 | Visual Studio

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.