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
cf78e6c3
Commit
cf78e6c3
authored
Apr 16, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Implemented SetupInstallServicesFromInfSectionW.
parent
44ab294e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
install.c
dlls/setupapi/install.c
+0
-0
install.c
dlls/setupapi/tests/install.c
+0
-12
No files found.
dlls/setupapi/install.c
View file @
cf78e6c3
This diff is collapsed.
Click to expand it.
dlls/setupapi/tests/install.c
View file @
cf78e6c3
...
...
@@ -166,7 +166,6 @@ static void test_install_svc_from(void)
SetLastError
(
0xdeadbeef
);
ret
=
SetupInstallServicesFromInfSectionA
(
infhandle
,
"Winetest.Services"
,
0
);
ok
(
!
ret
,
"Expected failure
\n
"
);
todo_wine
ok
(
GetLastError
()
==
ERROR_SECTION_NOT_FOUND
,
"Expected ERROR_SECTION_NOT_FOUND, got %08x
\n
"
,
GetLastError
());
SetupCloseInfFile
(
infhandle
);
...
...
@@ -179,7 +178,6 @@ static void test_install_svc_from(void)
SetLastError
(
0xdeadbeef
);
ret
=
SetupInstallServicesFromInfSectionA
(
infhandle
,
"Winetest.Services"
,
0
);
ok
(
!
ret
,
"Expected failure
\n
"
);
todo_wine
ok
(
GetLastError
()
==
ERROR_SECTION_NOT_FOUND
,
"Expected ERROR_SECTION_NOT_FOUND, got %08x
\n
"
,
GetLastError
());
SetupCloseInfFile
(
infhandle
);
...
...
@@ -192,7 +190,6 @@ static void test_install_svc_from(void)
SetLastError
(
0xdeadbeef
);
ret
=
SetupInstallServicesFromInfSectionA
(
infhandle
,
"Winetest.Services"
,
0
);
ok
(
!
ret
,
"Expected failure
\n
"
);
todo_wine
ok
(
GetLastError
()
==
ERROR_BAD_SERVICE_INSTALLSECT
,
"Expected ERROR_BAD_SERVICE_INSTALLSECT, got %08x
\n
"
,
GetLastError
());
SetupCloseInfFile
(
infhandle
);
...
...
@@ -205,7 +202,6 @@ static void test_install_svc_from(void)
SetLastError
(
0xdeadbeef
);
ret
=
SetupInstallServicesFromInfSectionA
(
infhandle
,
"Winetest.Services"
,
0
);
ok
(
!
ret
,
"Expected failure
\n
"
);
todo_wine
ok
(
GetLastError
()
==
ERROR_BAD_SERVICE_INSTALLSECT
,
"Expected ERROR_BAD_SERVICE_INSTALLSECT, got %08x
\n
"
,
GetLastError
());
SetupCloseInfFile
(
infhandle
);
...
...
@@ -218,7 +214,6 @@ static void test_install_svc_from(void)
SetLastError
(
0xdeadbeef
);
ret
=
SetupInstallServicesFromInfSectionA
(
infhandle
,
"Winetest.Services"
,
0
);
ok
(
!
ret
,
"Expected failure
\n
"
);
todo_wine
ok
(
GetLastError
()
==
ERROR_BAD_SERVICE_INSTALLSECT
,
"Expected ERROR_BAD_SERVICE_INSTALLSECT, got %08x
\n
"
,
GetLastError
());
SetupCloseInfFile
(
infhandle
);
...
...
@@ -231,7 +226,6 @@ static void test_install_svc_from(void)
SetLastError
(
0xdeadbeef
);
ret
=
SetupInstallServicesFromInfSectionA
(
infhandle
,
"Winetest.Services"
,
0
);
ok
(
!
ret
,
"Expected failure
\n
"
);
todo_wine
ok
(
GetLastError
()
==
ERROR_BAD_SERVICE_INSTALLSECT
,
"Expected ERROR_BAD_SERVICE_INSTALLSECT, got %08x
\n
"
,
GetLastError
());
SetupCloseInfFile
(
infhandle
);
...
...
@@ -244,7 +238,6 @@ static void test_install_svc_from(void)
SetLastError
(
0xdeadbeef
);
ret
=
SetupInstallServicesFromInfSectionA
(
infhandle
,
"Winetest.Services"
,
0
);
ok
(
!
ret
,
"Expected failure
\n
"
);
todo_wine
ok
(
GetLastError
()
==
ERROR_BAD_SERVICE_INSTALLSECT
,
"Expected ERROR_BAD_SERVICE_INSTALLSECT, got %08x
\n
"
,
GetLastError
());
SetupCloseInfFile
(
infhandle
);
...
...
@@ -256,12 +249,9 @@ static void test_install_svc_from(void)
infhandle
=
SetupOpenInfFileA
(
path
,
NULL
,
INF_STYLE_WIN4
,
NULL
);
SetLastError
(
0xdeadbeef
);
ret
=
SetupInstallServicesFromInfSectionA
(
infhandle
,
"Winetest.Services"
,
0
);
todo_wine
{
ok
(
ret
,
"Expected success
\n
"
);
ok
(
GetLastError
()
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %08x
\n
"
,
GetLastError
());
}
SetupCloseInfFile
(
infhandle
);
DeleteFile
(
inffile
);
...
...
@@ -269,12 +259,10 @@ static void test_install_svc_from(void)
/* Open the service to see if it's really there */
svc_handle
=
OpenServiceA
(
scm_handle
,
"Winetest"
,
DELETE
);
todo_wine
ok
(
svc_handle
!=
NULL
,
"Service was not created
\n
"
);
SetLastError
(
0xdeadbeef
);
ret
=
DeleteService
(
svc_handle
);
todo_wine
ok
(
ret
,
"Service could not be deleted : %d
\n
"
,
GetLastError
());
CloseServiceHandle
(
svc_handle
);
...
...
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