Windows Dev Center

UIAutomationType enumeration

Contains values used to indicate Microsoft UI Automation data types.

Syntax


enum UIAutomationType {  UIAutomationType_Int, 
  UIAutomationType_Bool, 
  UIAutomationType_String, 
  UIAutomationType_Double, 
  UIAutomationType_Point, 
  UIAutomationType_Rect, 
  UIAutomationType_Element, 
  UIAutomationType_Array, 
  UIAutomationType_Out, 
  UIAutomationType_IntArray, 
  UIAutomationType_BoolArray, 
  UIAutomationType_StringArray, 
  UIAutomationType_DoubleArray, 
  UIAutomationType_PointArray, 
  UIAutomationType_RectArray, 
  UIAutomationType_ElementArray, 
  UIAutomationType_OutInt, 
  UIAutomationType_OutBool, 
  UIAutomationType_OutString, 
  UIAutomationType_OutDouble, 
  UIAutomationType_OutPoint, 
  UIAutomationType_OutRect, 
  UIAutomationType_OutElement, 
  UIAutomationType_OutIntArray, 
  UIAutomationType_OutBoolArray, 
  UIAutomationType_OutStringArray, 
  UIAutomationType_OutDoubleArray, 
  UIAutomationType_OutPointArray, 
  UIAutomationType_OutRectArray, 
  UIAutomationType_OutElementArray 

};

Constants

UIAutomationType_Int

An integer.

UIAutomationType_Bool

An Boolean value.

UIAutomationType_String

A null-terminated character string.

UIAutomationType_Double

A double-precision floating-point number.

UIAutomationType_Point

A POINT structure containing the x- and y-coordinates of a point.

UIAutomationType_Rect

A RECT structure containing the coordinates of the upper-left and lower-right corners of a rectangle. This type is not supported for a custom UI Automation property.

UIAutomationType_Element

The address of the IUIAutomationElement interface of a UI Automation element.

UIAutomationType_Array

An array of an unspecified type.

UIAutomationType_Out

The address of a variable that receives a value retrieved by a function.

UIAutomationType_IntArray

An array of integers. This type is not supported for a custom UI Automation property.

UIAutomationType_BoolArray

An array of Boolean values. This type is not supported for a custom UI Automation property.

UIAutomationType_StringArray

An array of null-terminated character strings. This type is not supported for a custom UI Automation property.

UIAutomationType_DoubleArray

An array of double-precision floating-point numbers. This type is not supported for a custom UI Automation property.

UIAutomationType_PointArray

An array of POINT structures, each containing the x- and y-coordinates of a point. This type is not supported for a custom UI Automation property.

UIAutomationType_RectArray

An array of RECT structures, each containing the coordinates of the upper-left and lower-right corners of a rectangle. This type is not supported for a custom UI Automation property.

UIAutomationType_ElementArray

An array of pointers to IUIAutomationElement interfaces, each for a UI Automation element.

UIAutomationType_OutInt

The address of a variable that receives an integer value.

UIAutomationType_OutBool

The address of a variable that receives a Boolean value.

UIAutomationType_OutString

The address of a variable that receives a null-terminated character string.

UIAutomationType_OutDouble

The address of a variable that receives a double-precision floating-point number.

UIAutomationType_OutPoint

The address of a variable that receives a POINT structure.

UIAutomationType_OutRect

The address of a variable that receives a RECT structure.

UIAutomationType_OutElement

The address of a variable that receives a pointer to the IUIAutomationElement interface of a UI Automation element.

UIAutomationType_OutIntArray

The address of a variable that receives an array of integer values.

UIAutomationType_OutBoolArray

The address of a variable that receives an array of Boolean values.

UIAutomationType_OutStringArray

The address of a variable that receives an array of null-terminated character strings.

UIAutomationType_OutDoubleArray

The address of a variable that receives an array of double-precision floating-point numbers.

UIAutomationType_OutPointArray

The address of a variable that receives an array of POINT structures.

UIAutomationType_OutRectArray

The address of a variable that receives an array of RECT structures.

UIAutomationType_OutElementArray

The address of a variable that receives an array of pointers to the IUIAutomationElement interfaces of UI Automation elements.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista, Windows XP with SP3 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008, Windows Server 2003 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Header

UIAutomationCore.h (include UIAutomation.h)

 

 

Community Additions

ADD
Show:
© 2015 Microsoft