LegacyIAccessiblePattern_GetIAccessible Function

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

Retrieves an IAccessible object that corresponds to the UI Automation element.

Syntax

HRESULT LegacyIAccessiblePattern_GetIAccessible(      
    HUIAPATTERNOBJECT hobj,
    IAccessible **pAccessible
);

Parameters

  • hobj
    [in] A control pattern object.
  • pAccessible
    [out] The address of a variable that receives a pointer to an IAccessible interface for the accessible object.

Return Value

Returns S_OK if successful or an error value otherwise.

Remarks

Function Information

Stock Implementation uiautomationcore.dll
Custom Implementation No
Header uiautomationcoreapi.h
Import library uiautomationcore.lib
Minimum operating systems Windows XP