Platform SDK: Exchange Server

IExchExtUserEvents::OnObjectChange

Enables the extension object to enable, disable, or update visual elements in an object displayed in the window.

Quick Info

See IExchExtUserEvents : IUnknown.

VOID OnObjectChange(
  LPEXCHEXTCALLBACK lpeecb  
);
 

Parameters

lpeecb
[in] Pointer to the IExchExtCallback interface. The lpeech parameter is used to determine information about the selection.

Remarks

Microsoft Exchange calls the IExchExtUserEvents::OnObjectChange method when the object within the container displayed by the Microsoft Exchange window changes. For example, this method is called when a user changes a folder whose contents are displayed in the Viewer, or when the user moves to the next message in cases where the message’s class permits the same window to be used.

OnObjectChange should call the IExchExtCallback::GetObject method to determine the identifier of the changed object and its container. The container is usually a folder, but it can also be a message or an information store.

See Also

IExchExtCallback::GetObject