Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8992165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:53:30+00:00 2026-06-15T22:53:30+00:00

I wanted to experiment a bit with WinUSB. I’ve installed the WinDDK and I’m

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T22:53:31+00:00Added an answer on June 15, 2026 at 10:53 pm

    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:

    ;This .inf file is a modified version of the example INF provided
    ;in the Microsoft document:
    ;"How to Use WinUSB to Communicate with a USB Device"
    
    
    [Version]
    Signature = "$Windows NT$"
    Class = CustomUSBDevices
    ClassGuid= {a503e2d3-a031-49dc-b684-c99085dbfe92}
    Provider = %MFGNAME%
    DriverVer=07/20/2012,1.0.0.4
    CatalogFile=winusb.cat    ;CAT file needed for a signed driver pacakage
    ;------------------------------------------------------------------------------
    ; ========== Manufacturer/Models sections ===========
    ;------------------------------------------------------------------------------
    [Manufacturer]
    %MFGNAME% = MyDevice_WinUSB,NTx86,NTamd64
    
    ;------------------------------------------------------------------------------
    ;  Vendor and Product ID Definitions
    ;------------------------------------------------------------------------------
    ; When developing your custom USB device, the VID and PID used in the PC side
    ; application program and the firmware on the microcontroller must match.
    ; Modify the below lines to use your VID and PID.  Use the format as shown below.
    ; Note: One INF file can be used for multiple devices with different VID and PIDs.
    ; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
    ; There is a maximum number of devices that can be supported per line however.
    ; If you append a large number of VID/PIDs to the end of the line, and get a:
    ; "The data area passed to a system call is too small." error when trying to install
    ; the INF, try removing some of the VIDs/PIDs.
    ;------------------------------------------------------------------------------
    [MyDevice_WinUSB.NTx86]
    %DESCRIPTION% =USB_Install, USB\VID_04d8&PID_0204
    
    [MyDevice_WinUSB.NTamd64]
    %DESCRIPTION% =USB_Install, USB\VID_04d8&PID_0204
    
    
    ;=========================================================================================
    ;ClassInstall32 and ClassInstall_AddReg sections used to make new device manager category.
    ;=========================================================================================
    [ClassInstall32]
    AddReg=ClassInstall_AddReg
    
    [ClassInstall_AddReg]
    HKR,,,,%DEVICEMANAGERCATEGORY%
    HKR,,Icon,,"-20"
    
    
    ; =================== Installation ===================
    
    [USB_Install]
    Include=winusb.inf
    Needs=WINUSB.NT
    
    [USB_Install.Services]
    Include=winusb.inf
    AddService=WinUSB,0x00000002,WinUSB_ServiceInstall
    
    [WinUSB_ServiceInstall]
    DisplayName     = %WinUSB_SvcDesc%
    ServiceType     = 1
    StartType       = 3
    ErrorControl    = 1
    ServiceBinary   = %12%\WinUSB.sys
    
    [USB_Install.Wdf]
    KmdfService=WINUSB, WinUsb_Install
    
    [WinUSB_Install]
    KmdfLibraryVersion=1.11
    
    [USB_Install.HW]
    AddReg=Dev_AddReg
    
    [Dev_AddReg]
    HKR,,DeviceInterfaceGUIDs,0x10000,"{58D07210-27C1-11DD-BD0B-0800200C9a66}"
    ;When editing the GUID (the big hex number with dashes inside the squiggly 
    ;braces), make sure to write the intended PC application to use the same GUID.
    ;Otherwise the application won't be able to find the USB device properly.
    
    [USB_Install.CoInstallers]
    AddReg=CoInstallers_AddReg
    CopyFiles=CoInstallers_CopyFiles
    
    [CoInstallers_AddReg]
    HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01011.dll,WdfCoInstaller","WinUSBCoInstaller2.dll"
    
    [CoInstallers_CopyFiles]
    WinUSBCoInstaller2.dll
    WdfCoInstaller01011.dll
    
    [DestinationDirs]
    CoInstallers_CopyFiles=11
    
    ; ================= Source Media Section =====================
    
    [SourceDisksNames]
    1 = %DISK_NAME%,,,\i386
    2 = %DISK_NAME%,,,\amd64
    
    [SourceDisksFiles.x86]
    WinUSBCoInstaller2.dll=1
    WdfCoInstaller01011.dll=1
    
    [SourceDisksFiles.amd64]
    WinUSBCoInstaller2.dll=2
    WdfCoInstaller01011.dll=2
    
    ; =================== Strings ===================
    
    [Strings]
    MFGNAME="Your Manufacturer Name" ; ManufacturerName
    DESCRIPTION="Your USB Device Name" ; DeviceName
    WinUSB_SvcDesc="WinUSB Device"
    DISK_NAME="WinUSB Device Install Disk" ; DiskName
    DEVICEMANAGERCATEGORY="Custom USB Devices" ; ClassName
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wanted to make a Java based web crawler for an experiment. I heard
This sounds funny..just a little experiment. i wanted to simulate a drag drop of
I wanted to know about Data Type implementation in PHP so I need a
Can't download any python Windows modules and install. I wanted to experiment with scrapy
I am trying to create an experiment involving a series of clickable images where
I have a XML File in the following format: <?xml version='1.0' encoding='UTF-8'?> <entry xmlns='http://www.w3.org/2005/Atom'
I generally run web apps behind nginx with FastCGI. I wanted to experiment with
I have been learning about indexes in Oracle SQL, and I wanted to conduct
I wanted to experiment a little with python 3.0 at home. I got python
I wanted to experiment with being able to have a converter whose arguments can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.