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
40660894
Commit
40660894
authored
Feb 05, 2009
by
Rob Shearman
Committed by
Alexandre Julliard
Feb 06, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Fix an ole2 test failure on Win9x and NT4.
The combination of CF_BITMAP and TYMED_GLOBAL isn't accepted on newer versions of Windows, so mark it as broken.
parent
029c3fbb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ole2.c
dlls/ole32/tests/ole2.c
+2
-1
No files found.
dlls/ole32/tests/ole2.c
View file @
40660894
...
@@ -1167,7 +1167,8 @@ static void test_data_cache(void)
...
@@ -1167,7 +1167,8 @@ static void test_data_cache(void)
ok
(
hr
==
S_OK
,
"IOleCache_Cache cfFormat = %d, tymed = %d should have returned S_OK instead of 0x%08x
\n
"
,
ok
(
hr
==
S_OK
,
"IOleCache_Cache cfFormat = %d, tymed = %d should have returned S_OK instead of 0x%08x
\n
"
,
fmtetc
.
cfFormat
,
fmtetc
.
tymed
,
hr
);
fmtetc
.
cfFormat
,
fmtetc
.
tymed
,
hr
);
else
if
(
fmtetc
.
tymed
==
TYMED_HGLOBAL
)
else
if
(
fmtetc
.
tymed
==
TYMED_HGLOBAL
)
ok
(
hr
==
CACHE_S_FORMATETC_NOTSUPPORTED
,
ok
(
hr
==
CACHE_S_FORMATETC_NOTSUPPORTED
||
broken
(
hr
==
S_OK
&&
fmtetc
.
cfFormat
==
CF_BITMAP
)
/* Win9x & NT4 */
,
"IOleCache_Cache cfFormat = %d, tymed = %d should have returned CACHE_S_FORMATETC_NOTSUPPORTED instead of 0x%08x
\n
"
,
"IOleCache_Cache cfFormat = %d, tymed = %d should have returned CACHE_S_FORMATETC_NOTSUPPORTED instead of 0x%08x
\n
"
,
fmtetc
.
cfFormat
,
fmtetc
.
tymed
,
hr
);
fmtetc
.
cfFormat
,
fmtetc
.
tymed
,
hr
);
else
else
...
...
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