in reply to WMI: Bus relations

Post the rest of your code
At this point it could be WMI fudging up or it could be the loop you use to go through all of the items!

My sig Sucks!

Replies are listed 'Best First'.
Re^2: WMI: Bus relations
by jschollen (Beadle) on Sep 21, 2006 at 07:29 UTC
    I don't think it's the loop, but here's the code:
    My guess is I'm missing some bus relations which I can't retrieve with "Win32_Bus". (The IDs I get with this call are not unique, hence I cann't use it).

    Am I missing something in this query?

    Update: Guess I'm looking for a logical bus, not a phisical one. But were (and how) to find it...?


    Update:
    Win32_Bus retrieves the phisical Bus devices. This is not the thing I needed, since more devices are connected on 1 physical bus.
    I did found a solution however.
    I have to querry the PDO (Physical Device Object). These can give me enough date (along with the deviceID) to combine all instances, created by the drivers, that belong to a single device.