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
682679b0
Commit
682679b0
authored
Jun 19, 2006
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 19, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme/tests: Change S_OK to the more appropriate ERROR_SUCCESS.
parent
fa823d2f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
system.c
dlls/uxtheme/tests/system.c
+8
-8
No files found.
dlls/uxtheme/tests/system.c
View file @
682679b0
...
...
@@ -89,8 +89,8 @@ static void test_OpenThemeData(void)
SetLastError
(
0xdeadbeef
);
bThemeActive
=
pIsThemeActive
();
todo_wine
ok
(
GetLastError
()
==
S_OK
,
"Expected
S_OK
, got 0x%08lx
\n
"
,
ok
(
GetLastError
()
==
ERROR_SUCCESS
,
"Expected
ERROR_SUCCESS
, got 0x%08lx
\n
"
,
GetLastError
());
/* All NULL */
...
...
@@ -117,8 +117,8 @@ static void test_OpenThemeData(void)
{
ok
(
hTheme
!=
NULL
,
"got NULL, expected a HTHEME handle
\n
"
);
todo_wine
ok
(
GetLastError
()
==
S_OK
,
"Expected
S_OK
, got 0x%08lx
\n
"
,
ok
(
GetLastError
()
==
ERROR_SUCCESS
,
"Expected
ERROR_SUCCESS
, got 0x%08lx
\n
"
,
GetLastError
());
}
else
...
...
@@ -170,16 +170,16 @@ static void test_OpenThemeData(void)
hTheme
=
pOpenThemeData
(
hWnd
,
szButtonClassList
);
ok
(
hTheme
!=
NULL
,
"got NULL, expected a HTHEME handle
\n
"
);
todo_wine
ok
(
GetLastError
()
==
S_OK
,
"Expected
S_OK
, got 0x%08lx
\n
"
,
ok
(
GetLastError
()
==
ERROR_SUCCESS
,
"Expected
ERROR_SUCCESS
, got 0x%08lx
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
hTheme
=
pOpenThemeData
(
hWnd
,
szClassList
);
ok
(
hTheme
!=
NULL
,
"got NULL, expected a HTHEME handle
\n
"
);
todo_wine
ok
(
GetLastError
()
==
S_OK
,
"Expected
S_OK
, got 0x%08lx
\n
"
,
ok
(
GetLastError
()
==
ERROR_SUCCESS
,
"Expected
ERROR_SUCCESS
, got 0x%08lx
\n
"
,
GetLastError
());
}
...
...
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