mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
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.
This commit is contained in:
parent
029c3fbb8d
commit
40660894c8
1 changed files with 2 additions and 1 deletions
|
@ -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",
|
||||
fmtetc.cfFormat, fmtetc.tymed, hr);
|
||||
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",
|
||||
fmtetc.cfFormat, fmtetc.tymed, hr);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue