Device manager list of devices

Raz A.
Haifa,

Jul 31, 2019
82 Posts

0  |  0  

Re: Device manager list of devices

Is there a way to get all "Device manager" list of devices using ATEasy code?
in Windows xp/7.

DrATEasy (Ron Y.)
Mission Viejo, CA

Jul 31, 2019
367 Posts

0  |  0  

Re: Device manager list of devices

You can use the HW example, it can diusplay all PCI/PXI devices.

If you need all the other devices as device manager, you can convert the following example :

https://www.codeproject.com/articles/14412/enumerating-windows-device

You can also use the .Net for that:
https://docs.microsoft.com/en-us/uwp/api/Windows.Devices.Enumeration

Solution Available
Raz A.
Haifa,

Jul 31, 2019
82 Posts

1  |  0  

Re: Device manager list of devices

I found another quick solution, using "devcon.exe":
https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/devcon-general-commands

But you will have to to download the devcon.exe, i found it through:
https://superuser.com/questions/1002950/quick-method-to-install-devcon-exe

The command (in cmd.exe) to get list of all devices is:
devcon find *
so you will have to run in with WinExec(..)....

You can see more uses of devcon.exe in here:
https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/devcon-examples



Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]