UiaRectIsEmpty function

Note  This function is deprecated. Client applications should use the Microsoft UI Automation Component Object Model (COM) interfaces instead.
Gets a Boolean value that specifies whether a rectangle has all its coordinates set to 0.


Platform::Boolean UiaRectIsEmpty(
  const UiaRect & rc



Type: const UiaRect

A reference to a UiaRect structure that contains the coordinates of the rectangle.

Return Value

Type: bool

TRUE if the rectangle is empty; otherwise FALSE.


Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header uiautomationcoreapi.h
Library Uiautomationcore.lib
DLL Uiautomationcore.dll