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.
This commit is contained in:
Robert Shearman 2006-06-28 21:24:49 +01:00 committed by Alexandre Julliard
parent a509aabb97
commit 166a91b12d
1 changed files with 1 additions and 1 deletions

View File

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