Share via


IAccessibleEx::ConvertReturnedElement Method

Retrieves the IAccessibleEx interface of an element returned as a property value.

Syntax

HRESULT ConvertReturnedElement(      
    IRawElementProviderSimple *pIn,
    IAccessibleEx **ppRetValOut
);

Parameters

  • pIn
    [in] The address of the IRawElementProviderSimple interface that was retrieved as a property.
  • ppRetValOut
    [out] The address of a variable that receives a pointer to the IAccessibleEx interface of the element.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method is implemented by the bridge between Microsoft UI Automation and MSAA. Most other implementations should return E_NOTIMPL after setting ppRetValOut to NULL.

See Also

IAccessibleEx