IUIAutomation::CreateAndConditionFromNativeArray Method

Creates a condition that selects elements based on multiple conditions, all of which must be true.


HRESULT CreateAndConditionFromNativeArray(      
    IUIAutomationCondition **conditions,
    int conditionCount,
    IUIAutomationCondition **newCondition


  • conditions
    [in] The address of an array of pointers to the IUIAutomationCondition interfaces representing the conditions.
  • conditionCount
    [in] The number of elements in the conditions array.
  • newCondition
    [out, retval] The address of a variable that receives a pointer to an IUIAutomationCondition interface representing the combined condition.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IUIAutomation::CreateAndCondition, IUIAutomation::CreateAndConditionFromArray, IUIAutomationCondition, IUIAutomationElement::FindAll, IUIAutomationElement::FindAllBuildCache, IUIAutomationElement::FindFirst, IUIAutomationElement::FindFirstBuildCache