Fix Error 299 spam from PsapiTools

This commit is contained in:
sigonasr2 2018-06-17 16:29:44 -05:00
parent 6dd2145ef9
commit c035f052d6
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -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);
}
}