Robert Shearman : oleaut32: Typelib interfaces with the FDUAL flag should also be registered,

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jul 13 10:12:31 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 797bdbc2d9f20b3730b2290cfc423e56a6be072d
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=797bdbc2d9f20b3730b2290cfc423e56a6be072d

Author: Robert Shearman <rob at codeweavers.com>
Date:   Thu Jul 13 13:07:01 2006 +0100

oleaut32: Typelib interfaces with the FDUAL flag should also be registered,
since dispinterfaces don't have the FDISPATCHABLE flag.

---

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

diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index ce3a1dc..ccb5829 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -597,7 +597,7 @@ #undef XX
 			MESSAGE("\n");
 		    }
 
-		    if (tattr->wTypeFlags & (TYPEFLAG_FOLEAUTOMATION|TYPEFLAG_FDISPATCHABLE))
+		    if (tattr->wTypeFlags & (TYPEFLAG_FOLEAUTOMATION|TYPEFLAG_FDUAL|TYPEFLAG_FDISPATCHABLE))
 		    {
 			/* register interface<->typelib coupling */
 			get_interface_key( &tattr->guid, keyName );




More information about the wine-cvs mailing list