SysFreeString function Null safety oleaut32

void SysFreeString (
  1. Pointer<NativeType> bstrString
)

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

void SysFreeString(
  BSTR bstrString
);

Implementation

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