Commit 2f5c578d authored by Alexandre Julliard's avatar Alexandre Julliard

widl: Output registration information also for IUnknown.

parent 2bf6305a
......@@ -65,9 +65,14 @@ static int write_interface( const type_t *iface )
{
const UUID *uuid = get_attrp( iface->attrs, ATTR_UUID );
if (!type_iface_get_inherit( iface )) return 0;
if (!need_proxy( iface )) return 0;
if (!uuid) return 0;
if (!is_object( iface )) return 0;
if (!type_iface_get_inherit(iface)) /* special case for IUnknown */
{
put_str( indent, "ForceRemove '%s' = s '%s'\n", format_uuid( uuid ), iface->name );
return 0;
}
if (is_local( iface->attrs )) return 0;
put_str( indent, "ForceRemove '%s' = s '%s'\n", format_uuid( uuid ), iface->name );
put_str( indent, "{\n" );
indent++;
......
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