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:
parent
a509aabb97
commit
166a91b12d
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue