length property
int
get
length
Gets the length of the erroneous text.
To learn more, see learn.microsoft.com/windows/win32/api/spellcheck/nf-spellcheck-ispellingerror-get_length.
Implementation
int get length {
final value = adaptiveCalloc<Uint32>();
final hr$ = HRESULT(_get_LengthFn(ptr, value));
if (hr$.isError) {
free(value);
throw WindowsException(hr$);
}
final result$ = value.value;
free(value);
return result$;
}