Home | Info | Community | Development | myReactOS | Contact Us
[static]
Definition at line 113 of file register.c.
Referenced by write_typelib_interfaces().
{ const UUID *typelib_uuid = get_attrp( typelib->attrs, ATTR_UUID ); const UUID *uuid = get_attrp( iface->attrs, ATTR_UUID ); unsigned int version = get_attrv( typelib->attrs, ATTR_VERSION ); if (!uuid) return; if (!is_object( iface )) return; if (!is_attr( iface->attrs, ATTR_OLEAUTOMATION ) && !is_attr( iface->attrs, ATTR_DISPINTERFACE )) return; put_str( indent, "'%s' = s '%s'\n", format_uuid( uuid ), iface->name ); put_str( indent, "{\n" ); indent++; put_str( indent, "ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}'\n" ); put_str( indent, "ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}'\n" ); if (version) put_str( indent, "TypeLib = s '%s' { val Version = s '%u.%u' }\n", format_uuid( typelib_uuid ), MAJORVERSION(version), MINORVERSION(version) ); else put_str( indent, "TypeLib = s '%s'", format_uuid( typelib_uuid )); indent--; put_str( indent, "}\n" ); }