oleaut32: Use containing TypeLib's HelpFile in ITypeInfo::GetDocumentation.

This commit is contained in:
Andrew Eikum 2013-05-10 14:31:29 -05:00 committed by Alexandre Julliard
parent 787ac75045
commit 1a00e932ad
1 changed files with 3 additions and 1 deletions

View File

@ -6898,7 +6898,7 @@ static HRESULT WINAPI ITypeInfo_fnGetDocumentation( ITypeInfo2 *iface,
if(pdwHelpContext)
*pdwHelpContext=This->dwHelpContext;
if(pBstrHelpFile)
*pBstrHelpFile=SysAllocString(This->DocString);/* FIXME */
*pBstrHelpFile=SysAllocString(This->pTypeLib->HelpFile);
return S_OK;
}else {/* for a member */
pFDesc = TLB_get_funcdesc_by_memberid(This->funcdescs, This->TypeAttr.cFuncs, memid);
@ -6919,6 +6919,8 @@ static HRESULT WINAPI ITypeInfo_fnGetDocumentation( ITypeInfo2 *iface,
*pBstrDocString=SysAllocString(pVDesc->HelpString);
if(pdwHelpContext)
*pdwHelpContext=pVDesc->HelpContext;
if(pBstrHelpFile)
*pBstrHelpFile = SysAllocString(This->pTypeLib->HelpFile);
return S_OK;
}
}