IUIAutomation4::RemoveChangesEventHandler method (uiautomationclient.h)

Removes a changes event handler.

Syntax

HRESULT RemoveChangesEventHandler(
  [in] IUIAutomationElement             *element,
  [in] IUIAutomationChangesEventHandler *handler
);

Parameters

[in] element

Type: IUIAutomationElement*

A pointer to the UI Automation element from which to remove the handler.

[in] handler

Type: IUIAutomationChangesEventHandler*

A pointer to the interface that was passed to AddChangesEventHandler.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1607 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header uiautomationclient.h (include UIAutomation.h)

See also

IUIAutomation4