How can I get a list of all the connected USB devices on a windows computer?
You may find this thread useful. And here's a google code project exemplifying this (it P/Invokes into setupapi.dll).
setupapi.dll