0

Get List of connected USB Devices

I have tried the above link but it is not dynamically detected it . I do not want to use any windows procedure (wndproc) to do it.Any other ways?

Garuda
  • 1
  • 1
  • The link _is_ _"dynamic"_. What has the [Windows Callback Proc](https://learn.microsoft.com/en-us/previous-versions/windows/desktop/legacy/ms633573(v%3Dvs.85)) to do with it? –  Apr 30 '20 at 05:49
  • @MickyD because it listening for Windows message is *the way* to do it... Despite OP wishing not to listen to those events there really is no other way... as everything in Windows is event based. (Obviously one can poll... but that is in no way "dynamically detect") – Alexei Levenkov Apr 30 '20 at 05:51
  • @AlexeiLevenkov ah thank-you good sir. –  Apr 30 '20 at 05:52

0 Answers0