From 554715ce7293b0f4dfffae3758df411f520a7a9b Mon Sep 17 00:00:00 2001 From: Austin English Date: Tue, 12 Apr 2011 12:09:17 -0500 Subject: [PATCH] ole2disp.dll16: Add a stub for SETERRORINFO. --- dlls/ole2disp.dll16/ole2disp.c | 9 +++++++++ dlls/ole2disp.dll16/ole2disp.dll16.spec | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/dlls/ole2disp.dll16/ole2disp.c b/dlls/ole2disp.dll16/ole2disp.c index 081683e56af..139b492a589 100644 --- a/dlls/ole2disp.dll16/ole2disp.c +++ b/dlls/ole2disp.dll16/ole2disp.c @@ -248,3 +248,12 @@ 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 2f9e2efbaa3..0bc4bae1d42 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