Fix Error 299 spam from PsapiTools
This commit is contained in:
parent
6dd2145ef9
commit
c035f052d6
BIN
sigIRCv2.jar
BIN
sigIRCv2.jar
Binary file not shown.
@ -50,7 +50,7 @@ public class PsapiTools {
|
||||
boolean success = psapi.EnumProcessModules(hProcess, lphModule, lphModule.length, lpcbNeededs);
|
||||
if (!success){
|
||||
int err=k32.GetLastError();
|
||||
if (err!=6) {
|
||||
if (err!=6 && err!=299) {
|
||||
throw new Exception("EnumProcessModules failed. Error: "+err);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user