currentAriaProperties property
BSTR
get
currentAriaProperties
Retrieves the Accessible Rich Internet Applications (ARIA) properties of the element.
To learn more, see learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement-get_currentariaproperties.
Implementation
BSTR get currentAriaProperties {
final retVal = adaptiveCalloc<Pointer<Utf16>>();
final hr$ = HRESULT(_get_CurrentAriaPropertiesFn(ptr, retVal));
if (hr$.isError) {
free(retVal);
throw WindowsException(hr$);
}
final result$ = retVal.value;
free(retVal);
return .new(result$);
}