Platform SDK: Exchange Server

IExchExtMessageEvents::OnSubmitComplete

Enables extension objects to roll back their implementation of the IExchExtMessageEvents::OnSubmit method in case of an error or to release resources allocated by OnSubmit.

Quick Info

See IExchExtMessageEvents : IUnknown.

VOID OnSubmitComplete(
  LPEXCHEXTCALLBACK lpeecb,   
  ULONG ulFlags               
);
 

Parameters

lpeecb
[in] Pointer to the IExchExtCallback interface. The lpeecb parameter is used to determine information about the message and the window containing the displayed information.
ulFlags
EEME_FAILED
The check names operation could not be completed successfully. See the text provided in the definition of the IExchExtMessageEvents interface in this reference.
EEME_COMPLETE_FAILED
See the text provided in the definition of the IExchExtMessageEvents interface in this reference.

Remarks

The IExchExtMessageEvents::OnSubmitComplete method is used to enable extension objects to roll back the Microsoft Exchange default implementation of the IExchExtMessageEvents::OnSubmit method. OnSubmitComplete should call the IExchExtCallback::GetObject method to determine the message identifier of the item being submitted and its container. The container is usually a folder, but it can also be a message or an information store.

This method returns VOID because at this point the message should have already been submitted, so it is too late to cancel the operation.

See Also

IExchExtCallback::GetObject, IExchExtMessageEvents : IUnknown