Platform SDK: Exchange Server |
Replaces or enhances the behavior of Microsoft Exchange when reading information from a message.
See IExchExtMessageEvents : IUnknown.
HRESULT OnRead( LPEXCHEXTCALLBACK lpeecb );
Microsoft Exchange calls the IExchExtMessageEvents::OnRead method when it is about to read the properties of a message so that they can be displayed to the user in a standard form. If an error occurs, OnRead should display an error message and return an error. Microsoft Exchange will not continue to read the message, nor will it display an error message, but will stop the user action that caused the read operation to occur.
This method should call the IExchExtCallback::GetObject method to determine the message identifier of the item being read and its container. The container is usually a folder, but it can also be a message or an information store.
IExchExtCallback::GetObject, IExchExtMessageEvents : IUnknown