Re: [Windows]Need an example: How to read and list names of USB devices via Windows API without using Utilities

2020-05-29 Thread WebFreak001 via Digitalmars-d-learn
On Friday, 29 May 2020 at 09:04:30 UTC, WebFreak001 wrote: [...] I realized it may be useful to have a much more complete example, so replace the while (true) loop in my first code with this to get much more information dumped: while (true) {

Re: [Windows]Need an example: How to read and list names of USB devices via Windows API without using Utilities

2020-05-29 Thread WebFreak001 via Digitalmars-d-learn
On Wednesday, 27 May 2020 at 14:16:56 UTC, BoQsc wrote: I always wanted to know if there is any proven example on how to interface with USB devices by using Windows operating system. Any explanations, snippets in relation to topic would help. What I expect: Being able to detect if a new USB

Re: [Windows]Need an example: How to read and list names of USB devices via Windows API without using Utilities

2020-05-27 Thread Mihail Lorenko via Digitalmars-d-learn
On Wednesday, 27 May 2020 at 14:16:56 UTC, BoQsc wrote: I always wanted to know if there is any proven example on how to interface with USB devices by using Windows operating system. Any explanations, snippets in relation to topic would help. What I expect: Being able to detect if a new USB

[Windows]Need an example: How to read and list names of USB devices via Windows API without using Utilities

2020-05-27 Thread BoQsc via Digitalmars-d-learn
I always wanted to know if there is any proven example on how to interface with USB devices by using Windows operating system. Any explanations, snippets in relation to topic would help. What I expect: Being able to detect if a new USB device is connected. Being able to read USB device name.