ole32: Fix the test of the size returned from WdtpInterfacePointer_UserSize.

It varies on different versions of Windows, so we shouldn't test it for 
an exact value.
This commit is contained in:
Rob Shearman 2007-12-03 16:08:41 +00:00 committed by Alexandre Julliard
parent 6dcc3fe62e
commit b711d35d40
1 changed files with 2 additions and 1 deletions

View File

@ -441,7 +441,8 @@ static void test_marshal_WdtpInterfacePointer(void)
unk = &Test_Unknown;
size = WdtpInterfacePointer_UserSize(&umcb.Flags, umcb.Flags, 0, unk, &IID_IUnknown);
todo_wine
ok(size == 108, "size should be 108 bytes, not %d\n", size);
ok(size > 28, "size should be > 28 bytes, not %d\n", size);
trace("WdtpInterfacePointer_UserSize returned %d\n", size);
buffer = HeapAlloc(GetProcessHeap(), 0, size);
buffer_end = WdtpInterfacePointer_UserMarshal(&umcb.Flags, umcb.Flags, buffer, unk, &IID_IUnknown);
wireip = buffer;