Commit 57b42ae7 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

ole32: Make the size returned by CompositeMonikerImpl_GetMarshalSizeMax match…

ole32: Make the size returned by CompositeMonikerImpl_GetMarshalSizeMax match that returned by native.
parent 50ec1d68
......@@ -1368,7 +1368,7 @@ static HRESULT WINAPI CompositeMonikerMarshalImpl_GetMarshalSizeMax(
TRACE("(%s, %p, %lx, %p, %lx, %p)\n", debugstr_guid(riid), pv,
dwDestContext, pvDestContext, mshlflags, pSize);
*pSize = 0;
*pSize = 0x10; /* to match native */
hr = IMoniker_Enum(This, TRUE, &pEnumMk);
if (FAILED(hr)) return hr;
......
......@@ -644,11 +644,8 @@ static void test_generic_composite_moniker(void)
hr = CreateGenericComposite(moniker1, moniker2, &moniker);
ok_ole_success(hr, CreateGenericComposite);
/* FIXME: marshal data test commented out as the written custom marshal
* size in the OBJREF header doesn't match in ours and native don't match,
* probably due to a bug in Microsoft's implementation. */
test_moniker("generic composite moniker", moniker,
NULL /*expected_gc_moniker_marshal_data*/, sizeof(expected_gc_moniker_marshal_data),
expected_gc_moniker_marshal_data, sizeof(expected_gc_moniker_marshal_data),
expected_gc_moniker_saved_data, sizeof(expected_gc_moniker_saved_data),
expected_gc_moniker_comparison_data, sizeof(expected_gc_moniker_comparison_data));
......
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