getClickablePoint method

void getClickablePoint(
  1. Pointer<POINT> clickable,
  2. Pointer<Int32> gotClickable
)

Retrieves a point on the element that can be clicked.

Throws a WindowsException on failure.

To learn more, see learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement-getclickablepoint.

Implementation

@pragma('vm:prefer-inline')
void getClickablePoint(
  Pointer<POINT> clickable,
  Pointer<Int32> gotClickable,
) {
  final hr$ = HRESULT(_GetClickablePointFn(ptr, clickable, gotClickable));
  if (hr$.isError) throw WindowsException(hr$);
}