UiaRemoveEvent function

Note  This function is deprecated. Client applications should use the Microsoft UI Automation Component Object Model (COM) interfaces instead.
 

Removes a listener for events on a node in the UI Automation tree.

Syntax


HRESULT UiaRemoveEvent(
  _In_ HUIAEVENT hevent
);

Parameters

hevent [in]

Type: HUIAEVENT

The event to remove. This value was retrieved from UiaAddEvent.

Return value

Type: HRESULT

Returns S_OK if successful or an error value otherwise.

Remarks

The callback pointer, the scope, the node, and the list of properties must match exactly the parameters that were sent to the corresponding UiaAddEvent.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

UIAutomationCoreApi.h

Library

Uiautomationcore.lib

DLL

Uiautomationcore.dll

 

 

Show: