mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 19:43:31 +08: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
@ -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 New Issue
Block a user