UiaRaiseAutomationEvent Function

Notifies listeners of an event.

Syntax

HRESULT UiaRaiseAutomationEvent(      
    IRawElementProviderSimple *pProvider,
    EVENTID id
);

Parameters

  • pProvider
    [in] The address of the IRawElementProviderSimple interface of the provider node where the event occurred.
  • id
    [in] The identifier of the event to be raised. For a list of event IDs, see Event Identifiers.

Return Value

Returns S_OK if successful or an error value otherwise.

Function Information

Stock Implementation uiautomationcore.dll
Custom Implementation No
Header uiautomationcoreapi.h
Import library uiautomationcore.lib
Minimum operating systems Windows XP