Skip to content
Snippets Groups Projects
Commit 2da11260 authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard
Browse files

taskmgr: Use exit code 1 when terminating processes.

parent 9a8e628d
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ void ProcessPage_OnEndProcess(void)
return;
}
if (!TerminateProcess(hProcess, 0))
if (!TerminateProcess(hProcess, 1))
{
GetLastErrorText(wstrErrorText, ARRAY_SIZE(wstrErrorText));
MessageBoxW(hMainWnd, wstrErrorText,wszUnable2Terminate, MB_OK|MB_ICONSTOP);
......@@ -133,7 +133,7 @@ void ProcessPage_OnEndProcessTree(void)
return;
}
if (!TerminateProcess(hProcess, 0))
if (!TerminateProcess(hProcess, 1))
{
GetLastErrorText(wstrErrorText, ARRAY_SIZE(wstrErrorText));
MessageBoxW(hMainWnd, wstrErrorText,wszUnable2Terminate, MB_OK|MB_ICONSTOP);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment