Programming, System Programming, Win32, C.
(!EnumProcesses(pids, 8192, &dwCount)) ExitSys("EnumProcesses", EXIT_FAILURE); for (i = 0; i < dwCount / sizeof(DWORD); ++i) { if ((hProcess = OpenProcess(PROCESS_QUERY_INFORMATION|PROCESS_VM_READ, FALSE, pids[i])) == NULL) continue; if (EnumProcessModules( hProcess, &hMod, sizeof(hMod),