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
714abcb7
Commit
714abcb7
authored
Jun 10, 2015
by
Huw Davies
Committed by
Alexandre Julliard
Jun 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wshom/tests: Use RegQueryValueEx so that the tests run on Win 2k and XP.
parent
9327e476
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
wshom.c
dlls/wshom.ocx/tests/wshom.c
+5
-4
No files found.
dlls/wshom.ocx/tests/wshom.c
View file @
714abcb7
...
...
@@ -223,7 +223,8 @@ if (0) /* crashes on native */
SysFreeString
(
str
);
hr
=
IWshShell3_put_CurrentDirectory
(
sh3
,
NULL
);
ok
(
hr
==
E_INVALIDARG
,
"got 0x%08x
\n
"
,
hr
);
ok
(
hr
==
E_INVALIDARG
||
broken
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_NOACCESS
)),
"got 0x%08x
\n
"
,
hr
);
str
=
SysAllocString
(
emptyW
);
hr
=
IWshShell3_put_CurrentDirectory
(
sh3
,
str
);
...
...
@@ -490,7 +491,7 @@ static void test_registry(void)
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
type
=
REG_NONE
;
ret
=
Reg
GetValueA
(
root
,
NULL
,
"regsz"
,
RRF_RT_ANY
,
&
type
,
NULL
,
NULL
);
ret
=
Reg
QueryValueExA
(
root
,
"regsz"
,
0
,
&
type
,
NULL
,
NULL
);
ok
(
ret
==
ERROR_SUCCESS
,
"got %d
\n
"
,
ret
);
ok
(
type
==
REG_SZ
,
"got %d
\n
"
,
type
);
...
...
@@ -503,7 +504,7 @@ static void test_registry(void)
VariantClear
(
&
value
);
type
=
REG_NONE
;
ret
=
Reg
GetValueA
(
root
,
NULL
,
"regsz"
,
RRF_RT_ANY
,
&
type
,
NULL
,
NULL
);
ret
=
Reg
QueryValueExA
(
root
,
"regsz"
,
0
,
&
type
,
NULL
,
NULL
);
ok
(
ret
==
ERROR_SUCCESS
,
"got %d
\n
"
,
ret
);
ok
(
type
==
REG_SZ
,
"got %d
\n
"
,
type
);
...
...
@@ -516,7 +517,7 @@ static void test_registry(void)
VariantClear
(
&
value
);
type
=
REG_NONE
;
ret
=
Reg
GetValueA
(
root
,
NULL
,
"regsz"
,
RRF_RT_ANY
,
&
type
,
NULL
,
NULL
);
ret
=
Reg
QueryValueExA
(
root
,
"regsz"
,
0
,
&
type
,
NULL
,
NULL
);
ok
(
ret
==
ERROR_SUCCESS
,
"got %d
\n
"
,
ret
);
ok
(
type
==
REG_SZ
,
"got %d
\n
"
,
type
);
...
...
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