projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f125cd1
)
[TASKMGR] Prevent context menu on idle process (#4889)
author
Jose Carlos Jesus
<zecarlos1957@hotmail.com>
Sun, 20 Nov 2022 17:22:30 +0000
(17:22 +0000)
committer
GitHub
<noreply@github.com>
Sun, 20 Nov 2022 17:22:30 +0000
(20:22 +0300)
In Win2K3, there is no context menu on the System Idle Process.
CORE-18640
base/applications/taskmgr/procpage.c
patch
|
blob
|
history
diff --git
a/base/applications/taskmgr/procpage.c
b/base/applications/taskmgr/procpage.c
index
e916cae
..
dd2825d
100644
(file)
--- a/
base/applications/taskmgr/procpage.c
+++ b/
base/applications/taskmgr/procpage.c
@@
-400,6
+400,9
@@
void ProcessPageShowContextMenu(DWORD dwProcessId)
DWORD dwDebuggerSize;
HKEY hKey;
+ if (dwProcessId == 0)
+ return;
+
memset(&si, 0, sizeof(SYSTEM_INFO));
GetCursorPos(&pt);