CoTaskMemFree function Null safety ole32

void CoTaskMemFree (
  1. Pointer<NativeType> pv
)

Frees a block of task memory previously allocated through a call to the CoTaskMemAlloc or CoTaskMemRealloc function.

void CoTaskMemFree(
  _Frees_ptr_opt_ LPVOID pv
);

Implementation

void CoTaskMemFree(Pointer pv) {
  final _CoTaskMemFree = _ole32.lookupFunction<Void Function(Pointer pv),
      void Function(Pointer pv)>('CoTaskMemFree');
  return _CoTaskMemFree(pv);
}