IMAPIClientShutdown::NotifyProcessShutdown

Applies to: Outlook 2013 | Outlook 2016

Indicates the intention of the MAPI client to proceed with shut down.

HRESULT NotifyProcessShutdown ();

Return value

S_OK

The MAPI subsystem has attempted to notify loaded MAPI providers that the MAPI client is going to do a 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

IMAPIClientShutdown : IUnknown

Client Shutdown in MAPI