mirror of
https://github.com/UzixLS/KernelEx.git
synced 2025-07-19 07:21:20 +03:00
import KernelEx-4.0-Final
This commit is contained in:
0
auxiliary/psapi/makefile
Executable file → Normal file
0
auxiliary/psapi/makefile
Executable file → Normal file
0
auxiliary/psapi/makefile.msv
Executable file → Normal file
0
auxiliary/psapi/makefile.msv
Executable file → Normal file
6
auxiliary/psapi/psapi.c
Executable file → Normal file
6
auxiliary/psapi/psapi.c
Executable file → Normal file
@ -155,12 +155,6 @@ BOOL WINAPI EnumProcessModules(
|
||||
hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPPROCESS,pid);
|
||||
if (hSnap == INVALID_HANDLE_VALUE) return FALSE;
|
||||
ProcessModuleID = FindProcessMID(hSnap,pid);
|
||||
if ( !ProcessModuleID )
|
||||
{
|
||||
CloseHandle(hSnap);
|
||||
SetLastError(ERROR_INVALID_HANDLE);
|
||||
return FALSE;
|
||||
}
|
||||
onemodule.dwSize = sizeof(MODULEENTRY32);
|
||||
lRet = Module32First(hSnap, &onemodule);
|
||||
*lpcbNeeded = 0;
|
||||
|
0
auxiliary/psapi/psapi.def
Executable file → Normal file
0
auxiliary/psapi/psapi.def
Executable file → Normal file
Reference in New Issue
Block a user