Module: wine Branch: refs/heads/master Commit: 166a91b12dae3d15566566765b0743edf18cafc2 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=166a91b12dae3d1556656676...
Author: Robert Shearman rob@codeweavers.com Date: Wed Jun 28 21:24:49 2006 +0100
oleaut32: RegisterTypeLib should register any interface that derives from IDispatch rather than just dual interfaces.
This is hinted at, although not explicitly stated on MSDN, but was verified by tests with native oleaut32.
---
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 d55120d..11302be 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_FDUAL)) + if (tattr->wTypeFlags & (TYPEFLAG_FOLEAUTOMATION|TYPEFLAG_FDISPATCHABLE)) { /* register interface<->typelib coupling */ get_interface_key( &tattr->guid, keyName );