PORTS Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
This forum is closed to new activity.
The posts are available to browse, but posting has been disabled. BIG THANKS to all who have participated and shared your knowledge over the past 13 years.
Aug 11, 2023
Home
Help
Search
Login
Register
PORTS Forum
»
Ports and Interfaces
»
USB
»
Why doesn't Windows provide Host API to get all the descriptors directly?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Why doesn't Windows provide Host API to get all the descriptors directly? (Read 9902 times)
yindengxie
Member
Posts: 28
Why doesn't Windows provide Host API to get all the descriptors directly?
«
on:
August 15, 2020, 10:07:20 am »
Hello Jan,
Why doesn't Windows provide Host API to get all the descriptors directly,
but need to get these descriptors through USBView or some paid software?
THANKS!
Logged
bpaddock
Frequent Contributor
Posts: 66
Re: Why doesn't Windows provide Host API to get all the descriptors directly?
«
Reply #1 on:
August 17, 2020, 08:31:58 am »
TDD is free:
https://www.thesycon.de/eng/usb_descriptordumper.shtml
These programs get the descriptor by calling the Windows setup API.
Source code to USBView is here:
https://github.com/microsoft/Windows-driver-samples/tree/master/usb
These may also be useful to you:
https://github.com/libusb/hidapi
https://libusb.info
Logged
yindengxie
Member
Posts: 28
Re: Why doesn't Windows provide Host API to get all the descriptors directly?
«
Reply #2 on:
August 17, 2020, 11:12:57 am »
Hello bpaddock,
Many thanks for your help and Info.
Best Regards!
Logged
Print
Pages: [
1
]
« previous
next »
PORTS Forum
»
Ports and Interfaces
»
USB
»
Why doesn't Windows provide Host API to get all the descriptors directly?