function SameTypeInfo(const RegInfo: PTypeInfo; const OtherInfo: PTypeInfo): boolean;
boolean SameTypeInfo(const PTypeInfo RegInfo, const PTypeInfo OtherInfo);
IntfInfo
This is function IntfInfo.SameTypeInfo.