Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
eafae342
Commit
eafae342
authored
Jan 01, 1999
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Got rid of CLIENT_GetProcessInfo.
parent
ca1bc866
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
process.c
scheduler/process.c
+4
-3
No files found.
scheduler/process.c
View file @
eafae342
...
...
@@ -887,12 +887,13 @@ BOOL32 WINAPI GetExitCodeProcess(
HANDLE32
hProcess
,
/* [I] handle to the process */
LPDWORD
lpExitCode
)
/* [O] address to receive termination status */
{
struct
get_process_info_reply
info
;
struct
get_process_info_reply
reply
;
int
handle
=
HANDLE_GetServerHandle
(
PROCESS_Current
(),
hProcess
,
K32OBJ_PROCESS
,
PROCESS_QUERY_INFORMATION
);
if
(
CLIENT_GetProcessInfo
(
handle
,
&
info
))
return
FALSE
;
if
(
lpExitCode
)
*
lpExitCode
=
info
.
exit_code
;
CLIENT_SendRequest
(
REQ_GET_PROCESS_INFO
,
-
1
,
1
,
&
handle
,
sizeof
(
handle
)
);
if
(
CLIENT_WaitSimpleReply
(
&
reply
,
sizeof
(
reply
),
NULL
))
return
FALSE
;
if
(
lpExitCode
)
*
lpExitCode
=
reply
.
exit_code
;
return
TRUE
;
}
...
...
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