In my previous post, I tried to build a command line app to show Physical Hard drives and volume(s) mapping for each HDD present/attached to a system. Now I've extended the program to read and display the properties of the storage adapter for each physical hard drive. To achieve this I've used the very popular Win32 API, CreateFile(), and IOCTL_STORAGE_QUERY_PROPERTY control code. The previous program has been extended and now I'm showing only the part I've added on top of my previous program released under the title "PhysicalDisk and Volume Mapping information". Here goes the rest of the code to get the storage adapter's information: void PrintBusTypeName(BYTE iBusType) { switch(iBusType) { case BusTypeUnknown: wprintf(L"BusType: Unknown\n"); break; case BusTypeScsi: wprintf(L"BusType: SCSI\n"); break; case BusTypeAtapi: wprintf(L"BusType: ATAPI\n"); br