SysFreeString function Null safety oleaut32

void SysFreeString(
  1. Pointer<Utf16> bstrString
)

Deallocates a string allocated previously by SysAllocString, SysAllocStringByteLen, SysReAllocString, SysAllocStringLen, or SysReAllocStringLen.

void SysFreeString(
  BSTR bstrString
);

Implementation

void SysFreeString(Pointer<Utf16> bstrString) {
  final _SysFreeString = _oleaut32.lookupFunction<
      Void Function(Pointer<Utf16> bstrString),
      void Function(Pointer<Utf16> bstrString)>('SysFreeString');
  return _SysFreeString(bstrString);
}