SysReleaseString function Null safety oleaut32

void SysReleaseString(
  1. Pointer<Utf16> bstrString
)

Decreases the pinning reference count for the specified string by one. When that count reaches 0, the memory for that string is no longer prevented from being freed.

void SysReleaseString(
BSTR bstrString
);

Implementation

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