UiaRaiseAsyncContentLoadedEvent Function
Called by a provider to notify the UI Automation core that content is being loaded asynchronously.
Syntax
HRESULT UiaRaiseAsyncContentLoadedEvent( IRawElementProviderSimple *pProvider, AsyncContentLoadedState asyncContentLoadedState, double *percentComplete );
Parameters
- pProvider
[in] A pointer to the IRawElementProviderSimple interface of the provider node where the content is being loaded.- asyncContentLoadedState
[in] A member of the AsyncContentLoadedState enumeration that specifies the current state of loading.- percentComplete
[in] The percentage of content that has been loaded.
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