Share via


IProxyProviderWinEventSink::AddAutomationPropertyChangedEvent Method

Raises a property-changed event.

Syntax

HRESULT AddAutomationPropertyChangedEvent(      
    IRawElementProviderSimple *pProvider,
    PROPERTYID id,
    VARIANT newValue
);

Parameters

  • pProvider
    [in] The address of the IRawElementProviderSimple interface of the provider for the element that will raise the event.
  • id
    [in] The identifier of the property that is to be changed. For a list of property IDs, see Property Identifiers.
  • newValue
    [in] A VARIANT that contains the new value for the changed property.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IProxyProviderWinEventSink