Platform SDK: SMTP Server Events |
[This is preliminary documentation and subject to change.]
Delete a property stream and content PFIO_CONTEXT with optional asynchronous completion.
HRESULT Delete( [in] IMailMsgProperties *pMsg, [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 argument list. |
Error status codes returned from the method depend upon the implementation of the store driver object, and could include various FACILITY_WIN32 file I/O error codes, etc.
Before calling this method, all outstanding references of the property stream interface must be released, and all outstanding references to the content file handle context must be closed.
IMailMsgNotify Interface
IMailMsgNotify.Notify