Commit 74c2989d authored by Bernhard Übelacker's avatar Bernhard Übelacker Committed by Alexandre Julliard

taskmgr: Fix changing of debug channels.

parent 45c987d9
...@@ -280,7 +280,8 @@ static void DebugChannels_OnNotify(HWND hDlg, LPARAM lParam) ...@@ -280,7 +280,8 @@ static void DebugChannels_OnNotify(HWND hDlg, LPARAM lParam)
HANDLE hProcess; HANDLE hProcess;
NMITEMACTIVATE* nmia = (NMITEMACTIVATE*)lParam; NMITEMACTIVATE* nmia = (NMITEMACTIVATE*)lParam;
hProcess = OpenProcess(PROCESS_VM_OPERATION | PROCESS_VM_READ | PROCESS_VM_WRITE, FALSE, get_selected_pid()); hProcess = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_OPERATION | PROCESS_VM_READ | PROCESS_VM_WRITE,
FALSE, get_selected_pid());
if (!hProcess) return; /* FIXME message box */ if (!hProcess) return; /* FIXME message box */
lhti.pt = nmia->ptAction; lhti.pt = nmia->ptAction;
hChannelLV = GetDlgItem(hDlg, IDC_DEBUG_CHANNELS_LIST); hChannelLV = GetDlgItem(hDlg, IDC_DEBUG_CHANNELS_LIST);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment