currentControlType property

UIA_CONTROLTYPE_ID get currentControlType

Implementation

UIA_CONTROLTYPE_ID get currentControlType {
  final retVal = adaptiveCalloc<Int32>();
  final hr$ = HRESULT(_get_CurrentControlTypeFn(ptr, retVal));
  if (hr$.isError) {
    free(retVal);
    throw WindowsException(hr$);
  }
  final result$ = retVal.value;
  free(retVal);
  return .new(result$);
}