OLE32: add a stub implementation of CoIsHandlerConnected

Mike McCormack mike at codeweavers.com
Wed May 11 03:26:32 CDT 2005


ChangeLog:
* add a stub implementation of CoIsHandlerConnected
-------------- next part --------------
Index: dlls/ole32/compobj.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/compobj.c,v
retrieving revision 1.149
diff -u -p -r1.149 compobj.c
--- dlls/ole32/compobj.c	30 Mar 2005 17:08:33 -0000	1.149
+++ dlls/ole32/compobj.c	11 May 2005 08:22:07 -0000
@@ -2426,6 +2426,25 @@ ULONG WINAPI CoReleaseServerProcess(void
 }
 
 /***********************************************************************
+ *           CoIsHandlerConnected [OLE32.@]
+ *
+ * Determines whether a proxy is connected to a remote stub.
+ *
+ * PARAMS
+ *  pUnk [I] Pointer to object that may or may not be connected.
+ *
+ * RETURNS
+ *  TRUE if pUnk is not a proxy or if pUnk is connected to a remote stub, or
+ *  FALSE otherwise.
+ */
+BOOL WINAPI CoIsHandlerConnected(IUnknown *pUnk)
+{
+    FIXME("%p\n", pUnk);
+
+    return TRUE;
+}
+ 
+/***********************************************************************
  *           CoQueryProxyBlanket [OLE32.@]
  *
  * Retrieves the security settings being used by a proxy.
Index: dlls/ole32/ole32.spec
===================================================================
RCS file: /home/wine/wine/dlls/ole32/ole32.spec,v
retrieving revision 1.62
diff -u -p -r1.62 ole32.spec
--- dlls/ole32/ole32.spec	6 May 2005 14:32:30 -0000	1.62
+++ dlls/ole32/ole32.spec	11 May 2005 08:22:07 -0000
@@ -40,7 +40,7 @@
 @ stdcall CoInitializeEx(ptr long)
 @ stdcall CoInitializeSecurity(ptr long ptr ptr long long ptr long ptr)
 @ stdcall CoInitializeWOW(long long)
-@ stub CoIsHandlerConnected       #@ stdcall (ptr) return 0,ERR_NOTIMPLEMENTED
+@ stdcall CoIsHandlerConnected(ptr)
 @ stdcall CoIsOle1Class (ptr)
 @ stdcall CoLoadLibrary(wstr long)
 @ stdcall CoLockObjectExternal(ptr long long)


More information about the wine-patches mailing list