ole2disp.dll16: add a stub for SETERRORINFO

Austin English austinenglish at gmail.com
Tue Apr 12 12:09:17 CDT 2011


See http://bugs.winehq.org/show_bug.cgi?id=26627. Fixes the demo for
me, presumably the full version as well.

-- 
-Austin
-------------- next part --------------
diff --git a/dlls/ole2disp.dll16/ole2disp.c b/dlls/ole2disp.dll16/ole2disp.c
index 081683e..f38ac37 100644
--- a/dlls/ole2disp.dll16/ole2disp.c
+++ b/dlls/ole2disp.dll16/ole2disp.c
@@ -248,3 +248,13 @@ HRESULT WINAPI RegisterActiveObject16(
 	FIXME("(%p,%s,0x%08x,%p):stub\n",punk,debugstr_guid(rclsid),dwFlags,pdwRegister);
 	return E_NOTIMPL;
 }
+
+/******************************************************************************
+ * SetErrorInfo [OLE2DISP.110]
+ */
+HRESULT WINAPI SetErrorInfo16(ULONG dwReserved, IErrorInfo *perrinfo)
+{
+        FIXME("stub: (%d, %p)\n", dwReserved, perrinfo);
+        return E_INVALIDARG;
+}
+
diff --git a/dlls/ole2disp.dll16/ole2disp.dll16.spec b/dlls/ole2disp.dll16/ole2disp.dll16.spec
index 2f9e2ef..0bc4bae 100644
--- a/dlls/ole2disp.dll16/ole2disp.dll16.spec
+++ b/dlls/ole2disp.dll16/ole2disp.dll16.spec
@@ -107,7 +107,7 @@
 107 stub DOINVOKEMETHOD
 108 stub VARIANTCHANGETYPEEX
 109 stub SAFEARRAYPTROFINDEX
-110 stub SETERRORINFO
+110 pascal SetErrorInfo(long ptr) SetErrorInfo16
 111 stub GETERRORINFO
 112 stub CREATEERRORINFO
 113 stub _IID_IERRORINFO


More information about the wine-patches mailing list