GetModuleInformation function kernel32

int GetModuleInformation(
  1. int hProcess,
  2. int hModule,
  3. Pointer<MODULEINFO> lpmodinfo,
  4. int cb
)

Retrieves information about the specified module in the MODULEINFO structure.

BOOL K32GetModuleInformation(
  [in]  HANDLE       hProcess,
  [in]  HMODULE      hModule,
  [out] LPMODULEINFO lpmodinfo,
  [in]  DWORD        cb
);

Implementation

int GetModuleInformation(
        int hProcess, int hModule, Pointer<MODULEINFO> lpmodinfo, int cb) =>
    _K32GetModuleInformation(hProcess, hModule, lpmodinfo, cb);