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

ole32/tests: Fix remaining test failures on NT4 and below.

parent cedc8e70
...@@ -1336,7 +1336,10 @@ static void test_simple(void) ...@@ -1336,7 +1336,10 @@ static void test_simple(void)
ok(upos.QuadPart == 3, "got %d\n", upos.u.LowPart); ok(upos.QuadPart == 3, "got %d\n", upos.u.LowPart);
r = IStream_Stat(stm, &stat, STATFLAG_NONAME); r = IStream_Stat(stm, &stat, STATFLAG_NONAME);
ok(r == S_OK, "got %08x\n", r); ok(r == S_OK ||
broken(r == STG_E_INVALIDFUNCTION), /* NT4 and below */
"got %08x\n", r);
if (r == S_OK)
ok(stat.cbSize.QuadPart == 3, "got %d\n", stat.cbSize.u.LowPart); ok(stat.cbSize.QuadPart == 3, "got %d\n", stat.cbSize.u.LowPart);
pos.QuadPart = 1; pos.QuadPart = 1;
...@@ -1345,7 +1348,10 @@ static void test_simple(void) ...@@ -1345,7 +1348,10 @@ static void test_simple(void)
ok(upos.QuadPart == 1, "got %d\n", upos.u.LowPart); ok(upos.QuadPart == 1, "got %d\n", upos.u.LowPart);
r = IStream_Stat(stm, &stat, STATFLAG_NONAME); r = IStream_Stat(stm, &stat, STATFLAG_NONAME);
ok(r == S_OK, "got %08x\n", r); ok(r == S_OK ||
broken(r == STG_E_INVALIDFUNCTION), /* NT4 and below */
"got %08x\n", r);
if (r == S_OK)
ok(stat.cbSize.QuadPart == 1, "got %d\n", stat.cbSize.u.LowPart); ok(stat.cbSize.QuadPart == 1, "got %d\n", stat.cbSize.u.LowPart);
IStream_Release(stm); IStream_Release(stm);
......
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