Search code examples
cwinapidrivers

How to find the names of the installed drivers in my computer in C?


I am trying to write a code that can get the names of the installed drivers in my Windows computer in C (via winapi)?

I am really new to C and I do not know what I can do ? Can you please help me with this situation ?

Thank you very much


Solution

  • You need the setup API. Start with this article: How to enumerate hardware devices by using SetupDi calls