共用方式為


IMSProvider::Shutdown

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Closes a message store provider in an orderly fashion.

HRESULT Shutdown(
  ULONG FAR * lpulFlags
);

Parameters

  • lpulFlags
    [in] Reserved; must be a pointer to zero.

Return Value

  • S_OK
    The call succeeded and 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.

See Also

Reference

IMSProvider : IUnknown