                Drive List
                
This code demonstrates simple code to determine where are your HardDisks 
attached and to which BUS, and if disk is removable (USB flash for an 
example) or not.

Here is sample output from my computer:

C:\WinDDK\list_drives\i386>bla.exe
[*] \\.\PhysicalDrive0
      + ProductID        : WDC WD1600BEVS-22UST0
      + Product revision : 01.01A01
      + S/N              : 2020202057202d44585734453830344134373434
      + Removable        : false
      + Bus type         : ATA
[*] \\.\PhysicalDrive1
      + VendorID         : JetFlash
      + ProductID        : Transcend 8GB
      + Product revision : 8.07
      + S/N              : ?
      + Removable        : true
      + Bus type         : USB
[*] \\.\PhysicalDrive2
      + VendorID         : ST
      + ProductID        : ST9200420AS
      + Product revision : 1.04
      + S/N              : 5SH0JPGP
      + Removable        : false
      + Bus type         : USB
      
PhysicalDrive0 is my HDD
PhysicalDrive1 is my flashdrive
PhysicalDrive2 is my HDD attached to USB

This program was required for one of my projects where I used to write RAW
sectors to my experimental HDD, and as I frequently change my harddrive,
insert flash etc, my code couldn't have hardcoded \\.\PhysicalDriveX as it
would be changed each time I plugin/remove some of those storage devices
attached to my USB. This code helped me, and shortened my time with recompiling
of my current code to r/w raw sectors on USB hdd, as it can immdiaitiately
recognize which is which (flash drive or hdd, if it's attached to USB or
some other bus)...

Hope this will be usefull to someone...

                                               (c) deroko of ARTeam
