Share via


IUIAutomation::CreateTrueCondition Method

Retrieves a predefined condition that selects all elements.

Syntax

HRESULT CreateTrueCondition(      
    IUIAutomationCondition **newCondition
);

Parameters

  • newCondition
    [out, retval] The address of a variable that receives a pointer to an IUIAutomationCondition interface representing the true condition.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IUIAutomation::CreateFalseCondition, IUIAutomationCondition