oleaut32: Record DocString field in ITypeInfoImpl structure in function ITypeLib2_Constructor_SLTG.

This commit is contained in:
Roman Dadkov 2012-08-21 18:00:38 +04:00 committed by Alexandre Julliard
parent aac478f51b
commit 3eab4f8d96
1 changed files with 3 additions and 0 deletions

View File

@ -4092,6 +4092,9 @@ static ITypeLib2* ITypeLib2_Constructor_SLTG(LPVOID pLib, DWORD dwTLBLength)
pOtherTypeInfoBlks[i].name_offs +
pNameTable);
(*ppTypeInfoImpl)->dwHelpContext = pOtherTypeInfoBlks[i].helpcontext;
(*ppTypeInfoImpl)->DocString = TLB_MultiByteToBSTR(
pOtherTypeInfoBlks[i].helpcontext +
pNameTable);
(*ppTypeInfoImpl)->TypeAttr.guid = pOtherTypeInfoBlks[i].uuid;
(*ppTypeInfoImpl)->TypeAttr.typekind = pTIHeader->typekind;
(*ppTypeInfoImpl)->TypeAttr.wMajorVerNum = pTIHeader->major_version;