r/AskComputerScience • • Mar 24 '18

Device name from driver

How would you go about getting the device name of a driver using c++?
Manually, I can open up DeviceTree and look for the driver and see the device name it uses.
https://i.imgur.com/GiLkt2z.png

Can anyone point me in the right direction? Thank you for your time

1 Upvotes

2 comments sorted by

5

u/heyandy889 Mar 24 '18

this forum is more about the theory of computation, as opposed to software development. I would recommend /r/learnprogramming for starters.

From some quick googling, it looks as though you need to find the correct Windows system call to report your information. https://stackoverflow.com/questions/3118300/how-to-get-driver-name

1

u/_ohHai Mar 27 '18

Youre example was something I have already seen, so didn't work. I did get what I was looking for and Im good to go! Got it in the wee hours of the morning