GlobalFree function Null safety kernel32

int GlobalFree(
  1. int hMem
)

Frees the specified global memory object and invalidates its handle.

HGLOBAL GlobalFree(
  _Frees_ptr_opt_ HGLOBAL hMem
);

Implementation

int GlobalFree(int hMem) => _GlobalFree(hMem);