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
9117e1c4
Commit
9117e1c4
authored
Apr 15, 2005
by
Jakob Eriksson
Committed by
Alexandre Julliard
Apr 15, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERROR_PRIVILEGE_NOT_HELD can be returned for NT4.
parent
7fb79e34
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
registry.c
dlls/advapi32/tests/registry.c
+2
-0
No files found.
dlls/advapi32/tests/registry.c
View file @
9117e1c4
...
@@ -357,6 +357,7 @@ static void test_reg_save_key()
...
@@ -357,6 +357,7 @@ static void test_reg_save_key()
DWORD
ret
;
DWORD
ret
;
ret
=
RegSaveKey
(
hkey_main
,
"saved_key"
,
NULL
);
ret
=
RegSaveKey
(
hkey_main
,
"saved_key"
,
NULL
);
if
(
ERROR_PRIVILEGE_NOT_HELD
==
ret
)
return
;
ok
(
ret
==
ERROR_SUCCESS
,
"expected ERROR_SUCCESS, got %ld
\n
"
,
ret
);
ok
(
ret
==
ERROR_SUCCESS
,
"expected ERROR_SUCCESS, got %ld
\n
"
,
ret
);
}
}
...
@@ -366,6 +367,7 @@ static void test_reg_load_key()
...
@@ -366,6 +367,7 @@ static void test_reg_load_key()
HKEY
hkHandle
;
HKEY
hkHandle
;
ret
=
RegLoadKey
(
HKEY_LOCAL_MACHINE
,
"Test"
,
"saved_key"
);
ret
=
RegLoadKey
(
HKEY_LOCAL_MACHINE
,
"Test"
,
"saved_key"
);
if
(
ERROR_PRIVILEGE_NOT_HELD
==
ret
)
return
;
ok
(
ret
==
ERROR_SUCCESS
,
"expected ERROR_SUCCESS, got %ld
\n
"
,
ret
);
ok
(
ret
==
ERROR_SUCCESS
,
"expected ERROR_SUCCESS, got %ld
\n
"
,
ret
);
ret
=
RegOpenKey
(
HKEY_LOCAL_MACHINE
,
"Test"
,
&
hkHandle
);
ret
=
RegOpenKey
(
HKEY_LOCAL_MACHINE
,
"Test"
,
&
hkHandle
);
...
...
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