I wanted to experiment a bit with WinUSB. I've installed the WinDDK and I'm about to create my first INF-file for my driver. I'm following the MSDN guide to do this. The guide contains a sample INF file and the instructions to "changing USB_Install in section names to an appropriate DDInstall value".
Fair enough, only problem is I have no idea what 'appropriate DDInstall values' are.
I'm not really an expert with INF files and I can only guess that the guide probably wants me to change the section names in the sample file
[USB_Install]
Include = winusb.inf
Needs = WINUSB.NT
to something different than [USB_Install]
in the section header. The only explanation about DDInstall I found is just a general explanation on what to do with this section (Also on MSDN).
My question is, what I'm I supposed to put into my INF file instead of the [USB_Install]
string?
I've tried to follow the same MSDN guide and ran into a few issues. I ended up using Microchip's WinUSB driver template. This template can be found in the Microchip Application Libraries.
It's a bit different from the example given by MSDN but it works on my system. It also works with the tools and dll files which come with the latest WDK (version 8.0).
Although this does not address your question, I think it's a better template to work from compared to the one provided by MSDN.
Here is the inf file Microchip provides: