Module: wine Branch: master Commit: 1a74194f9ed29ea2fbaa8b2df3632c0c69e8c016 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1a74194f9ed29ea2fbaa8b2df3...
Author: Alistair Leslie-Hughes leslie_alistair@hotmail.com Date: Mon Jun 27 22:26:30 2011 +1000
oleaut32: Implement ICreateTypeInfo2 SetHelpStringContext.
---
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; }
/******************************************************************************