UiaCacheRequest structure (uiautomationcoreapi.h)

Note  This structure is deprecated.
 
Contains information about a request to cache data about UI Automation elements.

Syntax

struct UiaCacheRequest {
  struct UiaCondition   *pViewCondition;
  TreeScope             Scope;
  PROPERTYID            *pProperties;
  int                   cProperties;
  PATTERNID             *pPatterns;
  int                   cPatterns;
  AutomationElementMode automationElementMode;
};

Members

pViewCondition

Type: UiaCondition *

The address of a UiaCondition structure that specifies the condition that cached elements must match.

Scope

Type: TreeScope

A value from the TreeScope enumerated type indicating the scope of the cache request; for example, whether it includes children of the root element.

pProperties

Type: PROPERTYID*

The address of an array of identifiers for properties to cache. For a list of property IDs, see Property Identifiers.

cProperties

Type: int

The count of elements in the pProperties array.

pPatterns

Type: PATTERNID*

The address of an array of identifiers for control patterns to cache. For a list of control pattern IDs, see Control Pattern Identifiers.

cPatterns

Type: int

The count of elements in the pPatterns array.

automationElementMode

Type: AutomationElementMode

A value from the AutomationElementMode enumerated type indicating the type of reference to cached UI Automation elements that is to be returned.

Requirements

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