I'm looking for a way to retrieve the device tree in a windows environment.
I'm using windows XP, but the code has also to work on windows 2000 and Windows Vista.
For the moment I'm using WMI functions, but I don't know if that's the way to go.
I found a solution for my problem. (See my own Re^2 for more details).