Commit 5ae88daf authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

oleaut32: Implement ICreateTypeInfo::SetVarHelpContext.

parent caa452e9
...@@ -9220,8 +9220,16 @@ static HRESULT WINAPI ICreateTypeInfo2_fnSetVarHelpContext(ICreateTypeInfo2 *ifa ...@@ -9220,8 +9220,16 @@ static HRESULT WINAPI ICreateTypeInfo2_fnSetVarHelpContext(ICreateTypeInfo2 *ifa
UINT index, DWORD helpContext) UINT index, DWORD helpContext)
{ {
ITypeInfoImpl *This = info_impl_from_ICreateTypeInfo2(iface); ITypeInfoImpl *This = info_impl_from_ICreateTypeInfo2(iface);
FIXME("%p %u %d - stub\n", This, index, helpContext); TLBVarDesc *var_desc = &This->vardescs[index];
return E_NOTIMPL;
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, static HRESULT WINAPI ICreateTypeInfo2_fnSetMops(ICreateTypeInfo2 *iface,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment