minor bug fix

This commit is contained in:
d-millar 2021-01-20 21:34:37 +00:00
parent e6493fc41f
commit f162782416

View File

@ -166,7 +166,8 @@ public class DebugSystemObjectsImpl1 implements DebugSystemObjectsInternal {
ULONG ulHandle = new ULONG(systemId);
ULONGByReference pulId = new ULONGByReference();
HRESULT hr = jnaSysobj.GetProcessIdBySystemId(ulHandle, pulId);
if (hr.equals(COMUtilsExtra.E_UNEXPECTED) || hr.equals(COMUtilsExtra.E_NOTIMPLEMENTED)) {
if (hr.equals(COMUtilsExtra.E_UNEXPECTED) || hr.equals(COMUtilsExtra.E_NOTIMPLEMENTED) ||
hr.equals(COMUtilsExtra.E_NOINTERFACE)) {
return null;
}
COMUtils.checkRC(hr);