mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
oleaut32: Implement ICreateTypeInfo::SetVarDocString.
This commit is contained in:
parent
5ae88daf63
commit
4b2201b11c
1 changed files with 13 additions and 2 deletions
|
@ -9196,8 +9196,19 @@ static HRESULT WINAPI ICreateTypeInfo2_fnSetVarDocString(ICreateTypeInfo2 *iface
|
|||
UINT index, LPOLESTR docString)
|
||||
{
|
||||
ITypeInfoImpl *This = info_impl_from_ICreateTypeInfo2(iface);
|
||||
FIXME("%p %u %s - stub\n", This, index, wine_dbgstr_w(docString));
|
||||
return E_NOTIMPL;
|
||||
TLBVarDesc *var_desc = &This->vardescs[index];
|
||||
|
||||
TRACE("%p %u %s\n", This, index, wine_dbgstr_w(docString));
|
||||
|
||||
if(!docString)
|
||||
return E_INVALIDARG;
|
||||
|
||||
if(index >= This->cVars)
|
||||
return TYPE_E_ELEMENTNOTFOUND;
|
||||
|
||||
var_desc->HelpString = TLB_append_str(&This->pTypeLib->string_list, docString);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI ICreateTypeInfo2_fnSetFuncHelpContext(ICreateTypeInfo2 *iface,
|
||||
|
|
Loading…
Reference in a new issue