function CreateMethodPointer(const Instance: IDispatch; const MethodName: string; TypeInfo: PTypeInfo): TMethod; overload;
TMethod CreateMethodPointer(const IDispatch Instance, const AnsiString MethodName, PTypeInfo TypeInfo);
ObjComAuto
This is function ObjComAuto.CreateMethodPointer.