Commit 5492fd2b authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

ole32/tests: On win9x GetClipboardData returns a new handle.

parent 2c6be952
...@@ -746,7 +746,9 @@ static void test_set_clipboard(void) ...@@ -746,7 +746,9 @@ static void test_set_clipboard(void)
h = SetClipboardData(cf_onemore, hblob); h = SetClipboardData(cf_onemore, hblob);
ok(h == hblob, "got %p\n", h); ok(h == hblob, "got %p\n", h);
h = GetClipboardData(cf_onemore); h = GetClipboardData(cf_onemore);
ok(h == hblob, "got %p\n", h); ok(h == hblob ||
broken(h != NULL), /* win9x */
"got %p\n", h);
CloseClipboard(); CloseClipboard();
hr = OleFlushClipboard(); hr = OleFlushClipboard();
...@@ -761,7 +763,9 @@ static void test_set_clipboard(void) ...@@ -761,7 +763,9 @@ static void test_set_clipboard(void)
/* format should survive the flush */ /* format should survive the flush */
OpenClipboard(NULL); OpenClipboard(NULL);
h = GetClipboardData(cf_onemore); h = GetClipboardData(cf_onemore);
ok(h == hblob, "got %p\n", h); ok(h == hblob ||
broken(h != NULL), /* win9x */
"got %p\n", h);
CloseClipboard(); CloseClipboard();
test_cf_dataobject(NULL); test_cf_dataobject(NULL);
......
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