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
1 changed files with 1 additions and 1 deletions

View File

@ -597,7 +597,7 @@ HRESULT WINAPI RegisterTypeLib(
MESSAGE("\n"); MESSAGE("\n");
} }
if (tattr->wTypeFlags & (TYPEFLAG_FOLEAUTOMATION|TYPEFLAG_FDISPATCHABLE)) if (tattr->wTypeFlags & (TYPEFLAG_FOLEAUTOMATION|TYPEFLAG_FDUAL|TYPEFLAG_FDISPATCHABLE))
{ {
/* register interface<->typelib coupling */ /* register interface<->typelib coupling */
get_interface_key( &tattr->guid, keyName ); get_interface_key( &tattr->guid, keyName );