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

BoQsc vaidas.boqsc at gmail.com
Wed May 27 14:16:56 UTC 2020


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.
Being able to read USB device partition/s name/s.
Being able to list all USB devices.

What is required and are there any critical problems with 
achieving any of this?


More information about the Digitalmars-d-learn mailing list