added I/O device control wait detection

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1339 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
wj32
2009-05-28 11:35:46 +00:00
parent 12084d1386
commit f3bfe0644a
+14 -1
View File
@@ -941,7 +941,20 @@ namespace ProcessHacker.Components
IntPtr handle = stackFrame.Params[0];
sb.AppendLine("Thread " + tid.ToString() + " is waiting for a named pipe:");
sb.AppendLine("Thread " + tid.ToString() + " is waiting for a named pipe or a file:");
sb.AppendLine(this.GetHandleString(_pid, handle));
}
else if (
name.StartsWith("ntdll.dll!zwdeviceiocontrolfile") ||
name.StartsWith("ntdll.dll!ntdeviceiocontrolfile")
)
{
found = true;
IntPtr handle = stackFrame.Params[0];
sb.AppendLine("Thread " + tid.ToString() + " is waiting for an I/O control request:");
sb.AppendLine(this.GetHandleString(_pid, handle));
}