Alexandre Julliard : shlwapi: Add a partial stub for IConnectionPoint_InvokeWithCancel.

Alexandre Julliard julliard at winehq.org
Fri May 15 07:47:04 CDT 2009


Module: wine
Branch: master
Commit: 713183200bac8ee88af7ddc756277bf80aa55272
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=713183200bac8ee88af7ddc756277bf80aa55272

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri May 15 14:18:49 2009 +0200

shlwapi: Add a partial stub for IConnectionPoint_InvokeWithCancel.

---

 dlls/shlwapi/ordinal.c    |   20 ++++++++++++++++++++
 dlls/shlwapi/shlwapi.spec |    2 +-
 2 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/dlls/shlwapi/ordinal.c b/dlls/shlwapi/ordinal.c
index 882058e..c18d1ea 100644
--- a/dlls/shlwapi/ordinal.c
+++ b/dlls/shlwapi/ordinal.c
@@ -2914,6 +2914,26 @@ static HRESULT SHLWAPI_InvokeByIID(
 }
 
 /*************************************************************************
+ *  IConnectionPoint_InvokeWithCancel   [SHLWAPI.283]
+ */
+HRESULT WINAPI IConnectionPoint_InvokeWithCancel( IConnectionPoint* iCP,
+                                                  DISPID dispId, DISPPARAMS* dispParams,
+                                                  DWORD unknown1, DWORD unknown2 )
+{
+    IID iid;
+    HRESULT result;
+
+    FIXME("(%p)->(0x%x %p %x %x) partial stub\n", iCP, dispId, dispParams, unknown1, unknown2);
+
+    result = IConnectionPoint_GetConnectionInterface(iCP, &iid);
+    if (SUCCEEDED(result))
+        result = SHLWAPI_InvokeByIID(iCP, &iid, dispId, dispParams);
+
+    return result;
+}
+
+
+/*************************************************************************
  *      @	[SHLWAPI.284]
  *
  *  IConnectionPoint_SimpleInvoke
diff --git a/dlls/shlwapi/shlwapi.spec b/dlls/shlwapi/shlwapi.spec
index 0b1cd4c..d9cc3a5 100644
--- a/dlls/shlwapi/shlwapi.spec
+++ b/dlls/shlwapi/shlwapi.spec
@@ -280,7 +280,7 @@
 280 stdcall -noname SHRegGetIntW(ptr wstr long)
 281 stdcall -noname SHPackDispParamsV(ptr ptr long ptr)
 282 varargs -noname SHPackDispParams(ptr ptr long)
-283 stub -noname IConnectionPoint_InvokeWithCancel
+283 stdcall -noname IConnectionPoint_InvokeWithCancel(ptr long long long long)
 284 stdcall -noname IConnectionPoint_SimpleInvoke(ptr long ptr)
 285 stdcall -noname IConnectionPoint_OnChanged(ptr long)
 286 varargs -noname IUnknown_CPContainerInvokeParam(ptr ptr long ptr long)




More information about the wine-cvs mailing list