Platform SDK: MAPI

IMSProvider::Shutdown

The IMSProvider::Shutdown method closes down a message store provider in an orderly fashion.

Quick Info

See IMSProvider : IUnknown.

HRESULT Shutdown(
  ULONG FAR * lpulFlags  
);
 

Parameters

lpulFlags
Reserved; must be a pointer to zero.

Return Value

S_OK
The call succeeded and has returned the expected value or values.

Remarks

MAPI calls the IMSProvider::Shutdown method just before releasing the message store provider object. MAPI releases all logon objects for a provider before calling Shutdown for that provider.