Platform SDK: SMTP Server Events |
[This is preliminary documentation and subject to change.]
Close the content file for the MailMsg object's associated PFIO_CONTEXT context.
HRESULT CloseContentFile( [in] IMailMsgProperties *pMsg, [in] PFIO_CONTEXT pFIOContentFile );
Value | Description |
---|---|
S_OK | Success. The method completed synchronously. |
MAILMSG_S_PENDING | Success. The operation will complete asynchronously. When it completes, you will be notified through the interface you passed using the pNotify parameter. The result of the operation will be returned with the notification callback method. |
NTE_BAD_SIGNATURE | The signature stored in the IMMPID_MPV_STORE_DRIVER_HANDLE property does not match the CLSID of this store driver object. |
E_FAIL | Failure. The store driver object has not been initialized. |
E_POINTER | Error. NULL passed in argument list. |
The PFIO_CONTEXT must be closed using the ReleaseContext function exported from fcachdll.dll. The store driver also decrements the number of outstanding PFIO_CONTEXT contexts held.
IMailMsgStoreDriver.ReOpen