SysReleaseString function Null safety oleaut32

void SysReleaseString (
  1. Pointer<NativeType> 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 bstrString) {
  final _SysReleaseString = _oleaut32.lookupFunction<
      Void Function(Pointer bstrString),
      void Function(Pointer bstrString)>('SysReleaseString');
  return _SysReleaseString(bstrString);
}