Commit 166a91b1 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

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.
parent a509aabb
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment