currentFlowsTo property
IUIAutomationElementArray?
get
currentFlowsTo
Retrieves an array of elements that indicates the reading order after the current element.
To learn more, see learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement-get_currentflowsto.
Implementation
IUIAutomationElementArray? get currentFlowsTo {
final retVal = adaptiveCalloc<VTablePointer>();
final hr$ = HRESULT(_get_CurrentFlowsToFn(ptr, retVal));
if (hr$.isError) {
free(retVal);
throw WindowsException(hr$);
}
final result$ = retVal.value;
free(retVal);
if (result$.isNull) return null;
return .new(result$);
}