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
d861dc5e
Commit
d861dc5e
authored
Oct 08, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 08, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme: Use E_NOT_SUFFICIENT_BUFFER definition.
parent
8735cfc0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
system.c
dlls/uxtheme/tests/system.c
+4
-4
No files found.
dlls/uxtheme/tests/system.c
View file @
d861dc5e
...
...
@@ -474,9 +474,9 @@ static void test_GetCurrentThemeName(void)
hRes
=
pGetCurrentThemeName
(
currentTheme
,
2
,
NULL
,
0
,
NULL
,
0
);
if
(
bThemeActive
)
todo_wine
ok
(
hRes
==
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
)
||
ok
(
hRes
==
E_NOT_SUFFICIENT_BUFFER
||
broken
(
hRes
==
E_FAIL
/* WinXP SP1 */
),
"Expected
HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER)
, got 0x%08x
\n
"
,
hRes
);
"Expected
E_NOT_SUFFICIENT_BUFFER
, got 0x%08x
\n
"
,
hRes
);
else
ok
(
hRes
==
E_PROP_ID_UNSUPPORTED
,
"Expected E_PROP_ID_UNSUPPORTED, got 0x%08x
\n
"
,
hRes
);
...
...
@@ -486,9 +486,9 @@ static void test_GetCurrentThemeName(void)
currentSize
,
sizeof
(
currentSize
)
/
sizeof
(
WCHAR
));
if
(
bThemeActive
)
todo_wine
ok
(
hRes
==
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
)
||
ok
(
hRes
==
E_NOT_SUFFICIENT_BUFFER
||
broken
(
hRes
==
E_FAIL
/* WinXP SP1 */
),
"Expected
HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER)
, got 0x%08x
\n
"
,
hRes
);
"Expected
E_NOT_SUFFICIENT_BUFFER
, got 0x%08x
\n
"
,
hRes
);
else
ok
(
hRes
==
E_PROP_ID_UNSUPPORTED
,
"Expected E_PROP_ID_UNSUPPORTED, got 0x%08x
\n
"
,
hRes
);
...
...
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