Commit 5f9e3ffd authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Serialize/deserialize all reftypes in VT_USERDEFINED.

parent 21d92f8c
......@@ -556,11 +556,25 @@ serialize_param(
if (debugout) MESSAGE("}");
break;
}
default:
FIXME("Don't know how to marshal type kind %d\n",tattr->typekind);
hres = E_FAIL;
default: {
TYPEDESC tdesc2;
if (debugout) MESSAGE("U{");
memset(&tdesc2,0,sizeof(tdesc2));
tdesc2.vt = tattr->typekind;
hres = serialize_param(
tinfo2,
writeit,
debugout,
dealloc,
&tdesc2,
arg,
buf
);
if (debugout) MESSAGE("}");
break;
}
}
ITypeInfo_Release(tinfo2);
return hres;
}
......@@ -896,11 +910,25 @@ deserialize_param(
if (debugout) MESSAGE("}");
break;
}
default:
FIXME("Don't know how to marshal type kind %d\n",tattr->typekind);
hres = E_FAIL;
default: {
TYPEDESC tdesc2;
if (debugout) MESSAGE("U{");
memset(&tdesc2,0,sizeof(tdesc2));
tdesc2.vt = tattr->typekind;
hres = deserialize_param(
tinfo2,
readit,
debugout,
alloc,
&tdesc2,
(DWORD*)*arg,
buf
);
if (debugout) MESSAGE("}");
break;
}
}
}
if (hres)
FIXME("failed to stuballoc in TKIND_RECORD.\n");
......
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