private void check(BOOL retVal) { if (!retVal.booleanValue()) { int err = Kernel32.INSTANCE.GetLastError(); if (err != 0) throw new Win32Exception(err); } }
public BOOL EnumProcessModulesEx(HANDLE hProcess, DWORD[] hMods, int i, Pointer lpcbNeeded, DWORD dwFilterFlag);