Share via


fonction LegacyIAccessiblePattern_SetValue (uiautomationcoreapi.h)

Note Cette fonction est déconseillée. Les applications clientes doivent utiliser les interfaces COM (Microsoft UI Automation Component Object Model) à la place.
 
Définit la propriété Microsoft Active Accessibility pour le nœud.

Syntaxe

HRESULT LegacyIAccessiblePattern_SetValue(
  [in] HUIAPATTERNOBJECT hobj,
  [in] LPCWSTR           szValue
);

Paramètres

[in] hobj

Type : HUIAPATTERNOBJECT

Objet de modèle de contrôle .

[in] szValue

Type : LPCWSTR

Chaîne localisée qui contient la valeur.

Valeur retournée

Type : HRESULT

Retourne S_OK en cas de réussite ou une valeur d’erreur dans le cas contraire.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows 7, Windows Vista avec SP2 et Platform Update pour Windows Vista, Windows XP avec SP3 et Platform Update pour Windows Vista [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2008 R2, Windows Server 2008 avec SP2 et Mise à jour de plateforme pour Windows Server 2008, Windows Server 2003 avec SP2 et Mise à jour de plateforme pour Windows Server 2008 [applications de bureau uniquement]
Plateforme cible Windows
En-tête uiautomationcoreapi.h
Bibliothèque Uiautomationcore.lib
DLL Uiautomationcore.dll