Skip to content

An AI Agent that interacts with Windows OS at GUI level.

Python
1.5 KB
Raw Blame

UiaPropertyCondition

Original Documentation

UiaPropertyCondition structure (uiautomationcoreapi.h)

Note  This structure is deprecated.

Contains information about a condition used to find UI Automation elements that have a matching property.

Syntax

struct UiaPropertyCondition {
  ConditionType          ConditionType;
  PROPERTYID             PropertyId;
  VARIANT                Value;
  PropertyConditionFlags Flags;
};

Members

ConditionType

Type: ConditionType

A value indicating the type of the condition.

PropertyId

Type: PROPERTYID

The identifier of the property to match. For a list of property IDs, see Property Identifiers.

Value

Type: VARIANT

The value that the property must have.

Flags

Type: PropertyConditionFlags

A value indicating how the condition is applied.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header uiautomationcoreapi.h