Module: wine Branch: master Commit: 508d6db8e2163e206d3a37834197b3e4d01775ca URL: http://source.winehq.org/git/wine.git/?a=commit;h=508d6db8e2163e206d3a378341...
Author: Huw Davies huw@codeweavers.com Date: Tue Apr 21 16:50:58 2009 +0100
ole32/tests: win9x, winme and nt4 ignore the target device.
---
dlls/ole32/tests/clipboard.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/dlls/ole32/tests/clipboard.c b/dlls/ole32/tests/clipboard.c index a377801..65af5bd 100644 --- a/dlls/ole32/tests/clipboard.c +++ b/dlls/ole32/tests/clipboard.c @@ -1136,7 +1136,10 @@ static void test_flushed_getdata(void)
InitFormatEtc(fmt, cf_another, 0xffff); hr = IDataObject_GetData(get, &fmt, &med); - ok(hr == DV_E_FORMATETC, "got %08x\n", hr); + ok(hr == DV_E_FORMATETC || + broken(hr == S_OK), /* win9x, winme & nt4 */ + "got %08x\n", hr); + if(hr == S_OK) ReleaseStgMedium(&med);
InitFormatEtc(fmt, cf_another, 0xffff); memset(&dm, 0, sizeof(dm));