HeapSize function Null safety kernel32

int HeapSize(
  1. int hHeap,
  2. int dwFlags,
  3. Pointer<NativeType> lpMem
)

Retrieves the size of a memory block allocated from a heap by the HeapAlloc or HeapReAlloc function.

SIZE_T HeapSize(
  HANDLE  hHeap,
  DWORD   dwFlags,
  LPCVOID lpMem
);

Implementation

int HeapSize(int hHeap, int dwFlags, Pointer lpMem) =>
    _HeapSize(hHeap, dwFlags, lpMem);