Skip to content

Latest commit

 

History

History
88 lines (67 loc) · 3.99 KB

nf-uiautomationclient-iuiautomationeventhandlergroup-addpropertychangedeventhandler.md

File metadata and controls

88 lines (67 loc) · 3.99 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:uiautomationclient.IUIAutomationEventHandlerGroup.AddPropertyChangedEventHandler
IUIAutomationEventHandlerGroup::AddPropertyChangedEventHandler (uiautomationclient.h)
Registers a method that handles a property-changed event.
AddPropertyChangedEventHandler
AddPropertyChangedEventHandler method [Windows Accessibility]
AddPropertyChangedEventHandler method [Windows Accessibility]
IUIAutomationEventHandlerGroup interface
IUIAutomationEventHandlerGroup interface [Windows Accessibility]
AddPropertyChangedEventHandler method
IUIAutomationEventHandlerGroup.AddPropertyChangedEventHandler
IUIAutomationEventHandlerGroup::AddPropertyChangedEventHandler
uiautomationclient/IUIAutomationEventHandlerGroup::AddPropertyChangedEventHandler
winauto.uiauto_iuiautomationeventhandlergroup_addpropertychangedeventhandler
winauto\uiauto_iuiautomationeventhandlergroup_addpropertychangedeventhandler.htm
WinAuto
186958B6-6D13-41F2-B6E5-A4C36D1B8451
12/05/2018
AddPropertyChangedEventHandler, AddPropertyChangedEventHandler method [Windows Accessibility], AddPropertyChangedEventHandler method [Windows Accessibility],IUIAutomationEventHandlerGroup interface, IUIAutomationEventHandlerGroup interface [Windows Accessibility],AddPropertyChangedEventHandler method, IUIAutomationEventHandlerGroup.AddPropertyChangedEventHandler, IUIAutomationEventHandlerGroup::AddPropertyChangedEventHandler, uiautomationclient/IUIAutomationEventHandlerGroup::AddPropertyChangedEventHandler, winauto.uiauto_iuiautomationeventhandlergroup_addpropertychangedeventhandler
uiautomationclient.h
UIAutomation.h
Windows
Windows 10, version 1809 [desktop apps only]
Windows Server, version 1709 [desktop apps only]
UIAutomationClient.idl
Windows
RS5, 19H1
IUIAutomationEventHandlerGroup::AddPropertyChangedEventHandler
uiautomationclient/IUIAutomationEventHandlerGroup::AddPropertyChangedEventHandler
c++
APIRef
kbSyntax
COM
UIAutomationClient.h
IUIAutomationEventHandlerGroup.AddPropertyChangedEventHandler

IUIAutomationEventHandlerGroup::AddPropertyChangedEventHandler

-description

Registers a method that handles a property-changed event.

Important  Microsoft UI Automation clients should use the handler group methods to register event listeners instead of individual event registration methods defined in the various IUIAutomation namespaces.
 

-parameters

-param scope [in]

The scope of events to be handled; that is, whether they are on the element itself, or on its ancestors and children.

-param cacheRequest [in]

A pointer to a cache request, or NULL if no caching is wanted.

-param handler [in]

A pointer to the object that handles the event.

-param propertyArray [in]

A pointer to the UI Automation properties of interest. For a list of property IDs, see Property Identifiers.

-param propertyCount

The number of properties being monitored.

-returns

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

-remarks

Before implementing an event handler, you should be familiar with the threading issues described in Understanding Threading Issues.

-see-also

IUIAutomationEventHandlerGroup