ValuePattern_SetValue Function
Note This function is deprecated. Client applications should use the Microsoft UI Automation COM interfaces instead.
Sets the text value of an element.
Syntax
HRESULT ValuePattern_SetValue( HUIAPATTERNOBJECT hobj, LPCTSTR pVal );
Parameters
- hobj
[in] The control pattern object.- pVal
[in] The string to set the element's content to.
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