Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
b08ce1ae
Commit
b08ce1ae
authored
Aug 18, 2016
by
Sebastian Lackner
Committed by
Alexandre Julliard
Aug 18, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
services: WaitForSingleObject returns a DWORD result.
Signed-off-by:
Sebastian Lackner
<
sebastian@fds-team.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
299a6ce5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
rpc.c
programs/services/rpc.c
+2
-3
No files found.
programs/services/rpc.c
View file @
b08ce1ae
...
@@ -1084,7 +1084,6 @@ DWORD __cdecl svcctl_ControlService(
...
@@ -1084,7 +1084,6 @@ DWORD __cdecl svcctl_ControlService(
struct
sc_service_handle
*
service
;
struct
sc_service_handle
*
service
;
struct
process_entry
*
process
;
struct
process_entry
*
process
;
DWORD
result
;
DWORD
result
;
BOOL
ret
;
WINE_TRACE
(
"(%p, %d, %p)
\n
"
,
hService
,
dwControl
,
lpServiceStatus
);
WINE_TRACE
(
"(%p, %d, %p)
\n
"
,
hService
,
dwControl
,
lpServiceStatus
);
...
@@ -1164,8 +1163,8 @@ DWORD __cdecl svcctl_ControlService(
...
@@ -1164,8 +1163,8 @@ DWORD __cdecl svcctl_ControlService(
if
(
!
process
)
if
(
!
process
)
return
ERROR_SERVICE_CANNOT_ACCEPT_CTRL
;
return
ERROR_SERVICE_CANNOT_ACCEPT_CTRL
;
ret
=
WaitForSingleObject
(
process
->
control_mutex
,
30000
);
re
sul
t
=
WaitForSingleObject
(
process
->
control_mutex
,
30000
);
if
(
ret
!=
WAIT_OBJECT_0
)
if
(
re
sul
t
!=
WAIT_OBJECT_0
)
{
{
release_process
(
process
);
release_process
(
process
);
return
ERROR_SERVICE_REQUEST_TIMEOUT
;
return
ERROR_SERVICE_REQUEST_TIMEOUT
;
...
...
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