HeapReAlloc function Null safety kernel32

Pointer<NativeType> HeapReAlloc(
  1. int hHeap,
  2. int dwFlags,
  3. Pointer<NativeType> lpMem,
  4. int dwBytes
)

Retrieves information about the specified heap.

DECLSPEC_ALLOCATOR LPVOID HeapReAlloc(
  HANDLE                 hHeap,
  DWORD                  dwFlags,
  _Frees_ptr_opt_ LPVOID lpMem,
  SIZE_T                 dwBytes
);

Implementation

Pointer HeapReAlloc(int hHeap, int dwFlags, Pointer lpMem, int dwBytes) =>
    _HeapReAlloc(hHeap, dwFlags, lpMem, dwBytes);