IUIAutomation::CreateOrConditionFromNativeArray Method
Creates a combination of two or more conditions where a match exists if any one of the conditions is true.
Syntax
HRESULT CreateOrConditionFromNativeArray( IUIAutomationCondition **conditions, int conditionCount, IUIAutomationCondition **newCondition );
Parameters
- conditions
[in] The address of an array of pointers to the IUIAutomationCondition interfaces representing the conditions.- conditionCount
[in] The number of elements in conditions.- newCondition
[out, retval] he 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::CreateOrCondition, IUIAutomation::CreateOrConditionFromArray, IUIAutomationCondition, IUIAutomationElement::FindAll, IUIAutomationElement::FindAllBuildCache, IUIAutomationElement::FindFirst, IUIAutomationElement::FindFirstBuildCache