EnumProcessModules function kernel32
Retrieves a handle for each module in the specified process.
BOOL K32EnumProcessModules(
HANDLE hProcess,
HMODULE *lphModule,
DWORD cb,
LPDWORD lpcbNeeded
);
Implementation
int EnumProcessModules(int hProcess, Pointer<IntPtr> lphModule, int cb,
Pointer<Uint32> lpcbNeeded) =>
_K32EnumProcessModules(hProcess, lphModule, cb, lpcbNeeded);