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:
parent
6dcc3fe62e
commit
b711d35d40
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue