I had to duplicate idl unfortunately, because typelib in riched20 is not compatible with interfaces from tom.idl - method names are different, while vtables are identical.