title: How to get current HDD type?
body: <p>I've found a way to get hdd serial no in vb6. But it needs to select an option from </p>
  
  <ul>
  <li>primary master</li>
  <li>primary slave</li>
  <li>secondary master</li>
  <li>secondary slave  </li>
  </ul>
  
  <p>But I want to auto select an option. The auto select logic is, </p>
  
  <blockquote>
    <p>suppose I've 4 HDD with the above 4 types. And the logic will select the hdd type, on which the current system is loaded.</p>
  </blockquote>
  
  <p>I really have no idea how to detect the current system is on which HDD type. Please help.</p>
  
  <p>Here is the class that I use to select HDD serial no. <a href="http://social.msdn.microsoft.com/Forums/en-US/vbpowerpacks/thread/0e9a097d-c22c-4b70-ad50-106d680fa5b3/#eceda6cb-1508-4d90-b79e-83bd02323869" rel="nofollow">HDSN CLASS</a></p>