Sunil Mohan Adapa : oleaut32: Fix SLTG parser so that dispatch interface can inherit another interface.
Alexandre Julliard
julliard at winehq.org
Tue Nov 10 09:39:16 CST 2009
Module: wine
Branch: master
Commit: 05b24260310bd489f65e1599ec8a4d5c425cab28
URL: http://source.winehq.org/git/wine.git/?a=commit;h=05b24260310bd489f65e1599ec8a4d5c425cab28
Author: Sunil Mohan Adapa <sunilmohan at fsf.org.in>
Date: Tue Nov 10 10:28:01 2009 +0530
oleaut32: Fix SLTG parser so that dispatch interface can inherit another interface.
---
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 9e25e77..9c13bbe 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -3676,6 +3676,9 @@ static void SLTG_ProcessDispatch(char *pBlk, ITypeInfoImpl *pTI,
if (pTITail->funcs_off != 0xffff)
SLTG_DoFuncs(pBlk, pBlk + pTITail->funcs_off, pTI, pTITail->cFuncs, pNameTable, ref_lookup);
+ if (pTITail->impls_off != 0xffff)
+ SLTG_DoImpls(pBlk + pTITail->impls_off, pTI, FALSE, ref_lookup);
+
/* this is necessary to cope with MSFT typelibs that set cFuncs to the number
* of dispinterface functions including the IDispatch ones, so
* ITypeInfo::GetFuncDesc takes the real value for cFuncs from cbSizeVft */
More information about the wine-cvs
mailing list