Robert Shearman : ole32: Implement FTMarshalImpl_GetMarshalSizeMax.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jun 9 14:39:55 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 42c39675eab96bab80581d00ebc76ec2ae35a107
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=42c39675eab96bab80581d00ebc76ec2ae35a107

Author: Robert Shearman <rob at codeweavers.com>
Date:   Fri Jun  9 17:24:32 2006 +0100

ole32: Implement FTMarshalImpl_GetMarshalSizeMax.

---

 dlls/ole32/ftmarshal.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/dlls/ole32/ftmarshal.c b/dlls/ole32/ftmarshal.c
index b9fd7da..7493bab 100644
--- a/dlls/ole32/ftmarshal.c
+++ b/dlls/ole32/ftmarshal.c
@@ -155,15 +155,14 @@ FTMarshalImpl_GetMarshalSizeMax (LPMARSH
     IMarshal *pMarshal = NULL;
     HRESULT hres;
 
-    FTMarshalImpl *This = impl_from_IMarshal(iface);
-
-    FIXME ("(), stub!\n");
+    TRACE("(%s, %p, 0x%lx, %p, 0x%lx, %p)\n", debugstr_guid(riid), pv,
+        dwDestContext, pvDestContext, mshlflags, pSize);
 
     /* if the marshalling happens inside the same process the interface pointer is
        copied between the apartments */
     if (dwDestContext == MSHCTX_INPROC || dwDestContext == MSHCTX_CROSSCTX) {
-	*pSize = sizeof (This);
-	return S_OK;
+        *pSize = sizeof (mshlflags) + sizeof (pv) + sizeof (DWORD) + sizeof (GUID);
+        return S_OK;
     }
 
     /* use the standard marshaller to handle all other cases */




More information about the wine-cvs mailing list