Enables extension objects to roll back the Microsoft Exchange default implementation of the IExchExtMessageEvents::OnWrite method in case of an error or to release resources allocated by OnWrite.
See IExchExtMessageEvents : IUnknown.
HRESULT OnWriteComplete(
LPEXCHEXTCALLBACK lpeecb,
ULONG ulFlags
);
Microsoft Exchange calls the IExchExtMessageEvents::OnWriteComplete method after it has finished writing the contents of a standard form to the properties of a message. If an error occurs, the extension object should display an error message and return an error. Microsoft Exchange will then call each extension object again with OnWriteComplete with ulFlags = EEME_FAILED to indicate that the write operation failed.
The extension object should free resources used for the write operation.
This method should call the IExchExtCallback::GetObject method to determine the message identifier of the item being written and its container. The container is usually a folder, but it can also be a message or an information store.
IExchExtCallback::GetObject, IExchExtMessageEvents : IUnknown