in reply to Re: Win32: Device tree
in thread Win32: Device tree
Hi Martin,
I've been looking thru msdn for quite some time now. The most interesting calls to WMI are: CIM_LogicalDevice or Win32_PnPDevice. Unfortunattely, I miss a lot of mapping, which I can't retrieve with WMI commands.
I'm also looking at the windows kernel commands.
Apparently "!devnode 01" can do the trick as well, but for now I'm not able to send a windows kernel command with perl.
I found out that the WMI commands in the online MSDN libraries are updated (or at least partially) for Windows Vista.
Thanks for the advice.
Update:
Ok, there some problems with the kernel mode, because you have to run an application on 2 pc's. Apperantly the missing link for logical devices bus elements is PDO (Physical Device Objects). These allow me to link the devices uniquely together.
PDO's are not guaranteed thru Windows 2000 thru a WMI call. (Or at least, I didn't find one).