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
1510838d
Commit
1510838d
authored
May 23, 2013
by
André Hentschel
Committed by
Alexandre Julliard
May 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Fix copy&paste typo.
parent
2b8b64f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
registry.c
dlls/advapi32/tests/registry.c
+3
-3
No files found.
dlls/advapi32/tests/registry.c
View file @
1510838d
...
@@ -2156,16 +2156,16 @@ static void test_classesroot(void)
...
@@ -2156,16 +2156,16 @@ static void test_classesroot(void)
ok
(
res
==
ERROR_SUCCESS
,
"RegSetValueExA failed: %d, GLE=%x
\n
"
,
res
,
GetLastError
());
ok
(
res
==
ERROR_SUCCESS
,
"RegSetValueExA failed: %d, GLE=%x
\n
"
,
res
,
GetLastError
());
/* try to find the value in user's classes */
/* try to find the value in user's classes */
res
=
RegQueryValueExA
(
hk
cr
,
"val0"
,
NULL
,
&
type
,
(
LPBYTE
)
buffer
,
&
size
);
res
=
RegQueryValueExA
(
hk
ey
,
"val0"
,
NULL
,
&
type
,
(
LPBYTE
)
buffer
,
&
size
);
ok
(
res
==
ERROR_SUCCESS
,
"RegQueryValueExA failed: %d
\n
"
,
res
);
ok
(
res
==
ERROR_SUCCESS
,
"RegQueryValueExA failed: %d
\n
"
,
res
);
ok
(
!
strcmp
(
buffer
,
"hkcr"
),
"value set to '%s'
\n
"
,
buffer
);
ok
(
!
strcmp
(
buffer
,
"hkcr"
),
"value set to '%s'
\n
"
,
buffer
);
/* modify the value in user's classes */
/* modify the value in user's classes */
res
=
RegSetValueExA
(
hk
cr
,
"val0"
,
0
,
REG_SZ
,
(
const
BYTE
*
)
"user"
,
sizeof
(
"user"
));
res
=
RegSetValueExA
(
hk
ey
,
"val0"
,
0
,
REG_SZ
,
(
const
BYTE
*
)
"user"
,
sizeof
(
"user"
));
ok
(
res
==
ERROR_SUCCESS
,
"RegSetValueExA failed: %d, GLE=%x
\n
"
,
res
,
GetLastError
());
ok
(
res
==
ERROR_SUCCESS
,
"RegSetValueExA failed: %d, GLE=%x
\n
"
,
res
,
GetLastError
());
/* check if the value is also modified in hkcr */
/* check if the value is also modified in hkcr */
res
=
RegQueryValueExA
(
hk
ey
,
"val0"
,
NULL
,
&
type
,
(
LPBYTE
)
buffer
,
&
size
);
res
=
RegQueryValueExA
(
hk
cr
,
"val0"
,
NULL
,
&
type
,
(
LPBYTE
)
buffer
,
&
size
);
ok
(
res
==
ERROR_SUCCESS
,
"RegQueryValueExA failed: %d, GLE=%x
\n
"
,
res
,
GetLastError
());
ok
(
res
==
ERROR_SUCCESS
,
"RegQueryValueExA failed: %d, GLE=%x
\n
"
,
res
,
GetLastError
());
ok
(
!
strcmp
(
buffer
,
"user"
),
"value set to '%s'
\n
"
,
buffer
);
ok
(
!
strcmp
(
buffer
,
"user"
),
"value set to '%s'
\n
"
,
buffer
);
...
...
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