mirror of
https://github.com/senzee1984/InflativeLoading
synced 2026-06-06 16:44:31 +00:00
Update DumpPEFromMemory.cpp
This commit is contained in:
@@ -166,6 +166,10 @@ int main(int argc, char* argv[])
|
||||
printf("Error");
|
||||
}
|
||||
|
||||
TerminateProcess(pi.hProcess, 0);
|
||||
if (!TerminateProcess(pi.hProcess, 0)) {
|
||||
printf("TerminateProcess failed (%d).\n", GetLastError());
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user