Module: wine Branch: master Commit: aec4504c8ad60b1c3830debd11e0b3e4ceaf4bba URL: http://source.winehq.org/git/wine.git/?a=commit;h=aec4504c8ad60b1c3830debd11...
Author: Andrew Eikum aeikum@codeweavers.com Date: Tue May 28 17:00:36 2013 -0500
oleaut32: Implement ICreateTypeInfo::SetFuncHelpContext.
---
dlls/oleaut32/typelib.c | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c index 9b84c06..922e9ab 100644 --- a/dlls/oleaut32/typelib.c +++ b/dlls/oleaut32/typelib.c @@ -8888,8 +8888,16 @@ static HRESULT WINAPI ICreateTypeInfo2_fnSetFuncHelpContext(ICreateTypeInfo2 *if UINT index, DWORD helpContext) { ITypeInfoImpl *This = info_impl_from_ICreateTypeInfo2(iface); - FIXME("%p %u %d - stub\n", This, index, helpContext); - return E_NOTIMPL; + TLBFuncDesc *func_desc = &This->funcdescs[index]; + + TRACE("%p %u %d\n", This, index, helpContext); + + if(index >= This->TypeAttr.cFuncs) + return TYPE_E_ELEMENTNOTFOUND; + + func_desc->helpcontext = helpContext; + + return S_OK; }
static HRESULT WINAPI ICreateTypeInfo2_fnSetVarHelpContext(ICreateTypeInfo2 *iface,