LegacyIAccessiblePattern_SetValue Function

Note  This function is deprecated. Client applications should use the Microsoft UI Automation COM interfaces instead.

Sets the Microsoft Active Accessibility value property for the node.

Syntax

HRESULT LegacyIAccessiblePattern_SetValue(      
    HUIAPATTERNOBJECT hobj,
    LPCWSTR szValue
);

Parameters

  • hobj
    [in] The control pattern object.
  • szValue
    [in] A localized string that contains the value.

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 7