Commit d46f9366 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

ole32/tests: Fix a test on win98 and W2K.

parent 67a5f256
...@@ -844,9 +844,8 @@ static void test_OleLoad(IStorage *pStorage) ...@@ -844,9 +844,8 @@ static void test_OleLoad(IStorage *pStorage)
trace("OleLoad:\n"); trace("OleLoad:\n");
hr = OleLoad(pStorage, &IID_IOleObject, (IOleClientSite *)0xdeadbeef, (void **)&pObject); hr = OleLoad(pStorage, &IID_IOleObject, (IOleClientSite *)0xdeadbeef, (void **)&pObject);
ok(hr == S_OK || ok(hr == S_OK ||
broken(hr == E_INVALIDARG), /* win2k */ broken(hr == E_INVALIDARG), /* win98 and win2k */
"OleLoad failed with error 0x%08x\n", hr); "OleLoad failed with error 0x%08x\n", hr);
ok_ole_success(hr, "OleLoad");
if (pObject) if (pObject)
{ {
IOleObject_Release(pObject); IOleObject_Release(pObject);
......
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