GetProcessHeaps function kernel32

int GetProcessHeaps(
  1. int NumberOfHeaps,
  2. Pointer<IntPtr> ProcessHeaps
)

Returns the number of active heaps and retrieves handles to all of the active heaps for the calling process.

DWORD GetProcessHeaps(
  DWORD   NumberOfHeaps,
  PHANDLE ProcessHeaps
);

Implementation

int GetProcessHeaps(int NumberOfHeaps, Pointer<IntPtr> ProcessHeaps) =>
    _GetProcessHeaps(NumberOfHeaps, ProcessHeaps);