[PATCH] Implement ICreateTypeInfo2 SetHelpStringContext

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Mon Jun 27 06:33:39 CDT 2011


---
 dlls/oleaut32/typelib2.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/dlls/oleaut32/typelib2.c b/dlls/oleaut32/typelib2.c
index e9c7613..459547f 100644
--- a/dlls/oleaut32/typelib2.c
+++ b/dlls/oleaut32/typelib2.c
@@ -3067,8 +3067,13 @@ static HRESULT WINAPI ICreateTypeInfo2_fnSetHelpStringContext(
         ICreateTypeInfo2* iface,   /* [I] The typeinfo on which to set the help string context. */
         ULONG dwHelpStringContext) /* [I] The help string context. */
 {
-    FIXME("(%p,%d), stub!\n", iface, dwHelpStringContext);
-    return E_OUTOFMEMORY;
+    ICreateTypeInfo2Impl *This = (ICreateTypeInfo2Impl *)iface;
+
+    TRACE("(%p,%d), stub!\n", iface, dwHelpStringContext);
+
+    This->typelib->typelib_header.helpcontext = dwHelpStringContext;
+
+    return S_OK;
 }
 
 /******************************************************************************
-- 
1.7.4.1


--------------090706010105060506000604--



More information about the wine-patches mailing list