UiaRaiseAsyncContentLoadedEvent function

Called by a provider to notify the Microsoft UI Automation core that content is being loaded asynchronously.

Syntax

HRESULT UiaRaiseAsyncContentLoadedEvent(
  IRawElementProviderSimple *pProvider,
  AsyncContentLoadedState   asyncContentLoadedState,
  double                    percentComplete
);

Parameters

pProvider

Type: IRawElementProviderSimple*

The provider node where the content is being loaded.

asyncContentLoadedState

Type: AsyncContentLoadedState

The current state of loading.

percentComplete

Type: double

The percentage of content that has been loaded.

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 | UWP apps]
Minimum supported server Windows Server 2003 [desktop apps | UWP apps]
Target Platform Windows
Header uiautomationcoreapi.h
Library Uiautomationcore.lib
DLL Uiautomationcore.dll