UiaRaiseAutomationEvent function
Notifies listeners of an event.
Syntax
HRESULT WINAPI UiaRaiseAutomationEvent( _In_ IRawElementProviderSimple *pProvider, _In_ EVENTID id );
Parameters
- pProvider [in]
-
Type: IRawElementProviderSimple*
The provider element where the event occurred.
- id [in]
-
Type: EVENTID
The identifier of the event to be raised. For a list of event IDs, see Event Identifiers.
Return value
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
This function increments the reference counter of the pProvider interface, and UI Automation decrements the reference counter when the event handers finish processing the event.
Requirements
|
Minimum supported client |
Windows XP [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
Show: