oleaut32: Implement ICreateTypeInfo::SetVarHelpContext.

This commit is contained in:
Andrew Eikum 2013-05-31 15:06:14 -05:00 committed by Alexandre Julliard
parent caa452e958
commit 5ae88daf63
1 changed files with 10 additions and 2 deletions

View File

@ -9220,8 +9220,16 @@ static HRESULT WINAPI ICreateTypeInfo2_fnSetVarHelpContext(ICreateTypeInfo2 *ifa
UINT index, DWORD helpContext)
{
ITypeInfoImpl *This = info_impl_from_ICreateTypeInfo2(iface);
FIXME("%p %u %d - stub\n", This, index, helpContext);
return E_NOTIMPL;
TLBVarDesc *var_desc = &This->vardescs[index];
TRACE("%p %u %d\n", This, index, helpContext);
if(index >= This->cVars)
return TYPE_E_ELEMENTNOTFOUND;
var_desc->HelpContext = helpContext;
return S_OK;
}
static HRESULT WINAPI ICreateTypeInfo2_fnSetMops(ICreateTypeInfo2 *iface,