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
f3f64c79
Commit
f3f64c79
authored
Feb 01, 2008
by
Stefan Leichter
Committed by
Alexandre Julliard
Feb 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Fix the failing QueryServiceConfig2 test on platforms win2k3 and vista.
parent
277817aa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
service.c
dlls/advapi32/tests/service.c
+2
-1
No files found.
dlls/advapi32/tests/service.c
View file @
f3f64c79
...
@@ -938,7 +938,8 @@ static void test_queryconfig2(void)
...
@@ -938,7 +938,8 @@ static void test_queryconfig2(void)
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
ret
=
pQueryServiceConfig2A
(
svc_handle
,
SERVICE_CONFIG_DESCRIPTION
,
NULL
,
sizeof
(
SERVICE_DESCRIPTIONA
),
&
needed
);
ret
=
pQueryServiceConfig2A
(
svc_handle
,
SERVICE_CONFIG_DESCRIPTION
,
NULL
,
sizeof
(
SERVICE_DESCRIPTIONA
),
&
needed
);
ok
(
!
ret
,
"expected QueryServiceConfig2A to fail
\n
"
);
ok
(
!
ret
,
"expected QueryServiceConfig2A to fail
\n
"
);
ok
(
ERROR_INVALID_ADDRESS
==
GetLastError
(),
"expected error ERROR_INVALID_ADDRESS, got %d
\n
"
,
GetLastError
());
ok
((
ERROR_INVALID_ADDRESS
==
GetLastError
())
||
(
ERROR_INSUFFICIENT_BUFFER
==
GetLastError
()),
"expected error ERROR_INVALID_ADDRESS or ERROR_INSUFFICIENT_BUFFER, got %d
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
ret
=
pQueryServiceConfig2A
(
svc_handle
,
SERVICE_CONFIG_DESCRIPTION
,
NULL
,
sizeof
(
SERVICE_DESCRIPTIONA
),
NULL
);
ret
=
pQueryServiceConfig2A
(
svc_handle
,
SERVICE_CONFIG_DESCRIPTION
,
NULL
,
sizeof
(
SERVICE_DESCRIPTIONA
),
NULL
);
...
...
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