Share via


IUIAutomationElement::CurrentControllerFor Property

Retrieves an array of UI Automation elements for which this element serves as the controller.

Syntax

HRESULT IUIAutomationElement::get_CurrentControllerFor(IUIAutomationElementArray *retVal);

Parameters

  • retVal
    The address of a variable that receives a pointer to the IUIAutomationElement interface representing the array of elements for which this element is the controller.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

UIA_ControllerForPropertyId, IUIAutomationElement, IUIAutomationElement::CachedControllerFor