MultipleViewPattern_GetViewName Function

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

Retrieves the name of a control-specific view.

Syntax

HRESULT MultipleViewPattern_GetViewName(      
    HUIAPATTERNOBJECT hobj,
    int viewId,
    BSTR *ppStr
);

Parameters

  • hobj
    [in] The control pattern object.
  • viewId
    [in] The integer identifier for the view.
  • ppStr
    [out] When this function returns, contains a pointer to the string containing the name of the view. This parameter is passed uninitialized.

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