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

since dispinterfaces don't have the FDISPATCHABLE flag.
This commit is contained in:
Robert Shearman 2006-07-13 13:07:01 +01:00 committed by Alexandre Julliard
parent 264503d40d
commit 797bdbc2d9

View file

@ -597,7 +597,7 @@ HRESULT WINAPI RegisterTypeLib(
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 );