[PATCH] Implement ICreateTypeInfo2 SetHelpStringContext
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Mon Jun 27 07:26:30 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 3cbd4b5..c216d20 100644
--- a/dlls/oleaut32/typelib2.c
+++ b/dlls/oleaut32/typelib2.c
@@ -3072,8 +3072,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 = impl_from_ICreateTypeInfo2(iface);
+
+ TRACE("(%p,%d), stub!\n", iface, dwHelpStringContext);
+
+ This->typelib->typelib_header.helpcontext = dwHelpStringContext;
+
+ return S_OK;
}
/******************************************************************************
--
1.7.4.1
--------------060109050606040704040101--
More information about the wine-patches
mailing list