Commit 57d555c7 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

ole32/tests: OleGetClipboard doesn't return the same object under win9x, winme and nt4.

parent 7a0f6119
......@@ -914,9 +914,11 @@ static void test_consumer_refs(void)
hr = OleGetClipboard(&get2);
ok(hr == S_OK, "got %08x\n", hr);
ok(get1 == get2, "data objects differ\n");
ok(get1 == get2 ||
broken(get1 != get2), /* win9x, winme & nt4 */
"data objects differ\n");
refs = IDataObject_Release(get2);
ok(refs == 1, "got %d\n", refs);
ok(refs == (get1 == get2 ? 1 : 0), "got %d\n", refs);
OleFlushClipboard();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment