SafeArraySetIID function oleaut32
Sets the GUID of the interface for the specified safe array.
Throws a WindowsException on failure.
To learn more, see learn.microsoft.com/windows/win32/api/oleauto/nf-oleauto-safearraysetiid.
Implementation
@pragma('vm:prefer-inline')
void SafeArraySetIID(Pointer<SAFEARRAY> psa, Pointer<GUID> guid) {
final hr$ = HRESULT(_SafeArraySetIID(psa, guid));
if (hr$.isError) throw WindowsException(hr$);
}