Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6598aa50
Commit
6598aa50
authored
Mar 16, 2007
by
Paul Vriens
Committed by
Alexandre Julliard
Mar 16, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: RegQueryValueW is not always implemented.
parent
c2b05d32
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
registry.c
dlls/advapi32/tests/registry.c
+6
-0
No files found.
dlls/advapi32/tests/registry.c
View file @
6598aa50
...
...
@@ -830,6 +830,11 @@ static void test_reg_query_value(void)
valW
[
0
]
=
'\0'
;
size
=
0
;
ret
=
RegQueryValueW
(
subkey
,
NULL
,
valW
,
&
size
);
if
(
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
skip
(
"RegQueryValueW is not implemented
\n
"
);
goto
cleanup
;
}
ok
(
ret
==
ERROR_MORE_DATA
,
"Expected ERROR_MORE_DATA, got %d
\n
"
,
ret
);
ok
(
GetLastError
()
==
0xdeadbeef
,
"Expected 0xdeadbeef, got %d
\n
"
,
GetLastError
());
ok
(
lstrlenW
(
valW
)
==
0
,
"Expected valW to be untouched
\n
"
);
...
...
@@ -863,6 +868,7 @@ static void test_reg_query_value(void)
ok
(
!
lstrcmpW
(
valW
,
expected
),
"Got wrong value
\n
"
);
ok
(
size
==
sizeof
(
expected
),
"Got wrong size: %d
\n
"
,
size
);
cleanup:
RegDeleteKeyA
(
subkey
,
""
);
}
...
...
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