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
0feda920
Commit
0feda920
authored
Jul 20, 2008
by
Reece Dunn
Committed by
Alexandre Julliard
Jul 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme/tests: Use HRESULT_FROM_WIN32 to check the error codes, not LOWORD.
parent
9a7dc159
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
system.c
dlls/uxtheme/tests/system.c
+2
-2
No files found.
dlls/uxtheme/tests/system.c
View file @
0feda920
...
...
@@ -382,7 +382,7 @@ static void test_GetCurrentThemeName(void)
hRes
=
pGetCurrentThemeName
(
currentTheme
,
2
,
NULL
,
0
,
NULL
,
0
);
if
(
bThemeActive
)
todo_wine
ok
(
LOWORD
(
hRes
)
==
ERROR_INSUFFICIENT_BUFFER
,
"Expected 0x8007007A
, got 0x%08x
\n
"
,
hRes
);
ok
(
hRes
==
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
"Expected HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER)
, got 0x%08x
\n
"
,
hRes
);
else
ok
(
hRes
==
E_PROP_ID_UNSUPPORTED
,
"Expected E_PROP_ID_UNSUPPORTED, got 0x%08x
\n
"
,
hRes
);
ok
(
GetLastError
()
==
0xdeadbeef
,
...
...
@@ -396,7 +396,7 @@ static void test_GetCurrentThemeName(void)
currentSize
,
sizeof
(
currentSize
)
/
sizeof
(
WCHAR
));
if
(
bThemeActive
)
todo_wine
ok
(
LOWORD
(
hRes
)
==
ERROR_INSUFFICIENT_BUFFER
,
"Expected 0x8007007A
, got 0x%08x
\n
"
,
hRes
);
ok
(
hRes
==
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
"Expected HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER)
, got 0x%08x
\n
"
,
hRes
);
else
ok
(
hRes
==
E_PROP_ID_UNSUPPORTED
,
"Expected E_PROP_ID_UNSUPPORTED, got 0x%08x
\n
"
,
hRes
);
ok
(
GetLastError
()
==
0xdeadbeef
,
...
...
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