mirror of
https://github.com/reactos/reactos.git
synced 2025-04-03 20:21:17 +00:00
[TASKMGR] Prevent context menu on idle process (#4889)
In Win2K3, there is no context menu on the System Idle Process. CORE-18640
This commit is contained in:
parent
f125cd1c71
commit
c093d4f803
1 changed files with 3 additions and 0 deletions
|
@ -400,6 +400,9 @@ void ProcessPageShowContextMenu(DWORD dwProcessId)
|
|||
DWORD dwDebuggerSize;
|
||||
HKEY hKey;
|
||||
|
||||
if (dwProcessId == 0)
|
||||
return;
|
||||
|
||||
memset(&si, 0, sizeof(SYSTEM_INFO));
|
||||
|
||||
GetCursorPos(&pt);
|
||||
|
|
Loading…
Reference in a new issue