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
5c4a3bd6
Commit
5c4a3bd6
authored
Feb 04, 2010
by
Marcus Meissner
Committed by
Alexandre Julliard
Feb 04, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Handle some error returns (Coverity).
parent
d2812521
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
install.c
dlls/msi/tests/install.c
+6
-1
No files found.
dlls/msi/tests/install.c
View file @
5c4a3bd6
...
...
@@ -7475,6 +7475,7 @@ static void test_start_services(void)
}
scm
=
OpenSCManager
(
NULL
,
NULL
,
SC_MANAGER_ALL_ACCESS
);
ok
(
scm
!=
NULL
,
"Failed to open the SC Manager
\n
"
);
if
(
!
scm
)
return
;
service
=
OpenService
(
scm
,
"Spooler"
,
SC_MANAGER_ALL_ACCESS
);
if
(
!
service
&&
GetLastError
()
==
ERROR_SERVICE_DOES_NOT_EXIST
)
...
...
@@ -7483,7 +7484,11 @@ static void test_start_services(void)
CloseServiceHandle
(
scm
);
return
;
}
ok
(
service
!=
NULL
,
"Failed to open Spooler
\n
"
);
ok
(
service
!=
NULL
,
"Failed to open Spooler, error %d
\n
"
,
GetLastError
());
if
(
!
service
)
{
CloseServiceHandle
(
scm
);
return
;
}
ret
=
StartService
(
service
,
0
,
NULL
);
if
(
!
ret
&&
(
error
=
GetLastError
())
!=
ERROR_SERVICE_ALREADY_RUNNING
)
...
...
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