Platform SDK: Exchange Server

IExchExtMessageEvents::OnCheckNamesComplete

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

Quick Info

See IExchExtMessageEvents : IUnknown.

HRESULT OnCheckNamesComplete(
  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 unresolved names.
ulFlags
[in] Bitmask of flags. The following flags can be set:
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.

Return Values

S_OK
The extension object handled the event. Microsoft Exchange will consider the task handled.
S_FALSE
The extension object did nothing or added additional behavior. Microsoft Exchange will continue to call extensions or complete the work itself.

Remarks

Microsoft Exchange calls the IExchExtMessageEvents::OnCheckNamesComplete method after it has resolved the addresses. This method should call the IExchExtCallback::GetObject method to determine the message identifier of the item being displayed and its container. The container is usually a folder, but it can also be a message or an information store.

See Also

IExchExtCallback::GetObject, IExchExtMessageEvents : IUnknown