This reads the bus type of all drives associated with a drive letter.
This way you can safely detect removable USB devices.
It also has a feature to safely eject a device from the system (taken from activevb.de) and automatically displays arrival and removal of new devices.
Should work on NT/2k/XP.