Skip to content

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

Python
1.5 KB
Raw Blame

UiaFindParams

Original Documentation

UiaFindParams structure (uiautomationcoreapi.h)

Note  This structure is deprecated.

Contains parameters used in the UiaFind function.

Syntax

struct UiaFindParams {
  int                 MaxDepth;
  BOOL                FindFirst;
  BOOL                ExcludeRoot;
  struct UiaCondition *pFindCondition;
};

Members

MaxDepth

Type: int

The maximum depth to which to search the tree for matching elements.

FindFirst

Type: BOOL

TRUE to return only the first matching element; FALSE to return all matching elements.

ExcludeRoot

Type: BOOL

TRUE to exclude the root element; otherwise FALSE.

pFindCondition

Type: UiaCondition*

Pointer to a UiaCondition structure that contains information about a condition that returned elements must match.

Requirements

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