VirtualFreeEx function kernel32

int VirtualFreeEx(
  1. int hProcess,
  2. Pointer<NativeType> lpAddress,
  3. int dwSize,
  4. int dwFreeType,
)

Releases, decommits, or releases and decommits a region of memory within the virtual address space of a specified process.

BOOL VirtualFreeEx(
  HANDLE hProcess,
  LPVOID lpAddress,
  SIZE_T dwSize,
  DWORD  dwFreeType
);

Implementation

int VirtualFreeEx(
        int hProcess, Pointer lpAddress, int dwSize, int dwFreeType) =>
    _VirtualFreeEx(hProcess, lpAddress, dwSize, dwFreeType);