title: Delphi - Enumerating SATA IO Port Numbers in Windows
body: <p>New one for you.  Im getting ready to help another programmer port his program from C# to Delphi.  I cant truly read C# nor has he sent me actual source at this point so from discussion i think im going to be tackling most of this from a one function at a time standpoint.</p>
  
  <p>I need to be able to get the IO Port Numbers for all SATA devices (I believe i mean devices) connected to the system.  I know WMI wont do it so im not sure where to start on this one.  I know the C# version of this app uses a C# class that basically parses the registry.  Ive always been icky about directly reading from the registry.  I feel that getting the information from windows api or related is more reliable between windows versions if possible.</p>