SafeArrayRedim function oleaut32
Changes the right-most (least significant) bound of the specified safe array.
Throws a WindowsException on failure.
To learn more, see learn.microsoft.com/windows/win32/api/oleauto/nf-oleauto-safearrayredim.
Implementation
@pragma('vm:prefer-inline')
void SafeArrayRedim(
Pointer<SAFEARRAY> psa,
Pointer<SAFEARRAYBOUND> psaboundNew,
) {
final hr$ = HRESULT(_SafeArrayRedim(psa, psaboundNew));
if (hr$.isError) throw WindowsException(hr$);
}