UiaRaiseAsyncContentLoadedEvent function

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

Syntax


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

Parameters

pProvider [in]

Type: IRawElementProviderSimple*

The provider node where the content is being loaded.

asyncContentLoadedState [in]

Type: AsyncContentLoadedState

The current state of loading.

percentComplete [in]

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 | Windows Store apps]

Minimum supported server

Windows Server 2003 [desktop apps | Windows Store apps]

Header

UIAutomationCoreApi.h

Library

Uiautomationcore.lib

DLL

Uiautomationcore.dll

 

 

Show: