![]() Step 2: Query the device for USB descriptors For example code that gets the device handle and opens the device, see Template code discussion. The template enumerates devices by using SetupAPI routines, opens a file handle for the device, and creates a WinUSB interface handle required for subsequent tasks. ![]() You can use the template as a starting point.įor information about the template code, how to create, build, deploy, and debug the skeleton app, see Write a Windows desktop app based on the WinUSB template. To access a USB device, start by creating a skeleton app based on the WinUSB template included in the integrated environment of Windows Driver Kit (WDK) (with Debugging Tools for Windows) and Microsoft Visual Studio. Step 1: Create a skeleton app based on the WinUSB template You can use these examples to extend the procedures to other USB devices.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |