ole32: Fix a test failure in win9x.

This commit is contained in:
James Hawkins 2008-06-29 18:16:38 -05:00 committed by Alexandre Julliard
parent b9b25c73e0
commit e71e3efe77
1 changed files with 4 additions and 1 deletions

View File

@ -436,7 +436,10 @@ static void test_set_clipboard(void)
CoInitialize(NULL); CoInitialize(NULL);
hr = OleSetClipboard(data1); hr = OleSetClipboard(data1);
todo_wine todo_wine
ok(hr == CO_E_NOTINITIALIZED, "OleSetClipboard should have failed with CO_E_NOTINITIALIZED instead of 0x%08x\n", hr); ok(hr == CO_E_NOTINITIALIZED ||
hr == CLIPBRD_E_CANT_SET, /* win9x */
"OleSetClipboard should have failed with "
"CO_E_NOTINITIALIZED or CLIPBRD_E_CANT_SET instead of 0x%08x\n", hr);
CoUninitialize(); CoUninitialize();
hr = OleInitialize(NULL); hr = OleInitialize(NULL);