Export (0) Print
Expand All

UiaRaiseAutomationPropertyChangedEvent function

Called by providers to notify the Microsoft UI Automation core that an element property has changed.

Syntax


HRESULT WINAPI UiaRaiseAutomationPropertyChangedEvent(
  _In_  IRawElementProviderSimple *pProvider,
  _In_  PROPERTYID id,
  _In_  VARIANT oldValue,
  _In_  VARIANT newValue
);

Parameters

pProvider [in]

Type: IRawElementProviderSimple*

The provider node where the property change event occurred.

id [in]

Type: PROPERTYID

The identifier for the property that changed. For a list of property IDs, see Property Identifiers.

oldValue [in]

Type: VARIANT

The old value of the property.

newValue [in]

Type: VARIANT

The new value of the property.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows XP [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2003 [desktop apps | Windows Store apps]

Header

UIAutomationCoreApi.h

Library

Uiautomationcore.lib

DLL

Uiautomationcore.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft