Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b59ff5ee
Commit
b59ff5ee
authored
Feb 01, 2023
by
Brendan Shanks
Committed by
Alexandre Julliard
Apr 19, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskmgr: Use exit code 1 when terminating processes.
(cherry picked from commit
2da11260
)
parent
cbc1ba2d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
endproc.c
programs/taskmgr/endproc.c
+2
-2
No files found.
programs/taskmgr/endproc.c
View file @
b59ff5ee
...
@@ -83,7 +83,7 @@ void ProcessPage_OnEndProcess(void)
...
@@ -83,7 +83,7 @@ void ProcessPage_OnEndProcess(void)
return
;
return
;
}
}
if
(
!
TerminateProcess
(
hProcess
,
0
))
if
(
!
TerminateProcess
(
hProcess
,
1
))
{
{
GetLastErrorText
(
wstrErrorText
,
ARRAY_SIZE
(
wstrErrorText
));
GetLastErrorText
(
wstrErrorText
,
ARRAY_SIZE
(
wstrErrorText
));
MessageBoxW
(
hMainWnd
,
wstrErrorText
,
wszUnable2Terminate
,
MB_OK
|
MB_ICONSTOP
);
MessageBoxW
(
hMainWnd
,
wstrErrorText
,
wszUnable2Terminate
,
MB_OK
|
MB_ICONSTOP
);
...
@@ -133,7 +133,7 @@ void ProcessPage_OnEndProcessTree(void)
...
@@ -133,7 +133,7 @@ void ProcessPage_OnEndProcessTree(void)
return
;
return
;
}
}
if
(
!
TerminateProcess
(
hProcess
,
0
))
if
(
!
TerminateProcess
(
hProcess
,
1
))
{
{
GetLastErrorText
(
wstrErrorText
,
ARRAY_SIZE
(
wstrErrorText
));
GetLastErrorText
(
wstrErrorText
,
ARRAY_SIZE
(
wstrErrorText
));
MessageBoxW
(
hMainWnd
,
wstrErrorText
,
wszUnable2Terminate
,
MB_OK
|
MB_ICONSTOP
);
MessageBoxW
(
hMainWnd
,
wstrErrorText
,
wszUnable2Terminate
,
MB_OK
|
MB_ICONSTOP
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment