function GetPorts: IPorts;
__fastcall IPorts GetPorts();
This is GetPorts, a member of class TService.