=?UTF-8?Q?Bernhard=20=C3=9Cbelacker=20?=: taskmgr: Fix changing of debug channels.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Oct 15 10:27:59 CDT 2015


Module: wine
Branch: master
Commit: 74c2989db36246fd8940a38253e8004d7455736e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=74c2989db36246fd8940a38253e8004d7455736e

Author: Bernhard Übelacker <bernhardu at vr-web.de>
Date:   Wed Oct 14 19:27:10 2015 +0200

taskmgr: Fix changing of debug channels.

Signed-off-by: Bernhard Übelacker <bernhardu at vr-web.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/taskmgr/dbgchnl.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/programs/taskmgr/dbgchnl.c b/programs/taskmgr/dbgchnl.c
index 1049a16..6e2dea0 100644
--- a/programs/taskmgr/dbgchnl.c
+++ b/programs/taskmgr/dbgchnl.c
@@ -280,7 +280,8 @@ static void DebugChannels_OnNotify(HWND hDlg, LPARAM lParam)
             HANDLE              hProcess;
             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 */
             lhti.pt = nmia->ptAction;
             hChannelLV = GetDlgItem(hDlg, IDC_DEBUG_CHANNELS_LIST);




More information about the wine-cvs mailing list