Initialize clsid member to the marshaler clsid to fix custom

marshaling.
This commit is contained in:
Robert Shearman 2005-01-17 19:32:25 +00:00 committed by Alexandre Julliard
parent 8ba0ef86dc
commit b5a10936bd
1 changed files with 1 additions and 0 deletions

View File

@ -1079,6 +1079,7 @@ HRESULT WINAPI CoMarshalInterface(IStream *pStream, REFIID riid, IUnknown *pUnk,
hr = E_UNEXPECTED;
goto cleanup;
}
objref.u_objref.u_custom.clsid = marshaler_clsid;
objref.u_objref.u_custom.cbExtension = 0;
objref.u_objref.u_custom.size = GlobalSize(hGlobal);
/* write constant sized OR_CUSTOM data into stream */