Platform SDK: SMTP Server Events |
[This is preliminary documentation and subject to change.]
Re-open a property stream and/or content file for a MailMsg object with optional asynchronous completion.
HRESULT ReOpen( [in] IMailMsgProperties *pMsg, [out] IMailMsgPropertyStream **ppStream, [out] PFIO_CONTEXT * ppFIOContentFile, [in,unique] IMailMsgNotify *pNotify );
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 ppEnum. |
If the property stream is being re-opened, all references to the property stream interface must have been previously released. Similarly, if the content file is being re-opened, all instances of the content handle must have previously been closed.
IMailMsgNotify Interface
IMailMsgNotify.Notify
IMailMsgStoreDriver.CloseContentFile