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

Alexandre Julliard julliard at winehq.org
Wed Aug 22 14:04:20 CDT 2012


Module: wine
Branch: master
Commit: 3eab4f8d9649dfc8c04caa4b9a525a1d36fe24ab
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3eab4f8d9649dfc8c04caa4b9a525a1d36fe24ab

Author: Roman Dadkov <romand at etersoft.ru>
Date:   Tue Aug 21 18:00:38 2012 +0400

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

---

 dlls/oleaut32/typelib.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index 0fc7a6e..abde61b 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -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;




More information about the wine-cvs mailing list