Platform SDK: Exchange Server |
Replaces or enhances the behavior of Microsoft Exchange when writing information to a message.
See IExchExtMessageEvents : IUnknown.
HRESULT OnWrite( LPEXCHEXTCALLBACK lpeecb );
Microsoft Exchange calls the IExchExtMessageEvents::OnWrite method when it is about to write 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 not continue to write the message, call another extension object’s OnWrite method, or display an error message. However, it will stop the user action that caused 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