Share via


Fonction UiaRaiseAsyncContentLoadedEvent (uiautomationcoreapi.h)

Appelé par un fournisseur pour informer microsoft UI Automation core que le contenu est chargé de manière asynchrone.

Syntaxe

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

Paramètres

[in] pProvider

Type : IRawElementProviderSimple*

Nœud de fournisseur dans lequel le contenu est chargé.

[in] asyncContentLoadedState

Type : AsyncContentLoadedState

État actuel du chargement.

[in] percentComplete

Type : double

Pourcentage de contenu qui a été chargé.

Valeur retournée

Type : HRESULT

Si cette fonction réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.

Spécifications

Condition requise Valeur
Client minimal pris en charge Windows XP [applications de bureau | applications UWP]
Serveur minimal pris en charge Windows Server 2003 [applications de bureau | applications UWP]
Plateforme cible Windows
En-tête uiautomationcoreapi.h
Bibliothèque Uiautomationcore.lib
DLL Uiautomationcore.dll