HeapAlloc function kernel32

Pointer<NativeType> HeapAlloc(
  1. int hHeap,
  2. int dwFlags,
  3. int dwBytes
)

Allocates a block of memory from a heap. The allocated memory is not movable.

LPVOID HeapAlloc(
  HANDLE hHeap,
  DWORD  dwFlags,
  SIZE_T dwBytes
);

Implementation

Pointer HeapAlloc(int hHeap, int dwFlags, int dwBytes) =>
    _HeapAlloc(hHeap, dwFlags, dwBytes);