[PATCH] Implement ICreateTypeInfo2 SetHelpStringContext
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Mon Jun 27 07:26:30 CDT 2011
---
dlls/oleaut32/typelib2.c | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/dlls/oleaut32/typelib2.c b/dlls/oleaut32/typelib2.c
index 3cbd4b5..d319ede 100644
--- a/dlls/oleaut32/typelib2.c
+++ b/dlls/oleaut32/typelib2.c
@@ -3070,10 +3070,15 @@ static HRESULT WINAPI ICreateTypeInfo2_fnSetImplTypeCustData(
*/
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. */
+ ULONG helpcontext) /* [I] The help string context. */
{
- FIXME("(%p,%d), stub!\n", iface, dwHelpStringContext);
- return E_OUTOFMEMORY;
+ ICreateTypeInfo2Impl *This = impl_from_ICreateTypeInfo2(iface);
+
+ TRACE("(%p, %d)\n", iface, helpcontext);
+
+ This->typelib->typelib_header.helpcontext = helpcontext;
+
+ return S_OK;
}
/******************************************************************************
--
1.7.4.1
--------------040800080206060803010404--
More information about the wine-patches
mailing list