Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel3
minLevel2
indent20px

...

Anchor
Table - Windows Drivers Loaded for each Micrium USB Class
Table - Windows Drivers Loaded for each Micrium USB Class

Panel
borderWidth0
titleTable - Windows Drivers Loaded for each Micrium USB Class


Micrium classWindows driverDriver typeINF file type
Audio Usbaudio.sys NativeSystem INF file
CDC ACMusbser.sysNativeVendor-specific INF file
HIDHidclass.sys
Hidusb.sys
NativeSystem INF file
MSCUsbstor.sysNativeSystem INF file
HDCPwinusb.sys (for getting started purpose only).NativeVendor-specific INF file
Vendorwinusb.sysNativeVendor-specific INF file


...

An INF file is arranged in sections whose names are surrounded by square brackets []. Each section contains one or several entries. If the entry has a predefined keyword such as “Class”, “Signature”, etc, the entry is called a directive. Listing - Example of INF File Structure presents an example of an INF file structure:

...

Anchor
Listing - Example of INF File Structure
Listing - Example of INF File Structure

Code Block
languagecpp
titleListing - Example of INF File Structure
linenumberstrue
; =================== Version section =====================
[Version]                                                                     (1)
Signature = "$Windows NT$"
Class     = Ports
ClassGuid = {4D36E978-E325-11CE-BFC1-08002BE10318}
 
Provider=%ProviderName%
DriverVer=01/01/2012,1.0.0.0
 
; ========== Manufacturer/Models sections =================
 
[Manufacturer]                                                                (2)
%ProviderName% = DeviceList, NTx86, NTamd64
 
[DeviceList.NTx86]                                                            (3)
%PROVIDER_CDC% = DriverInstall, USB\VID_fffe&PID_1234&MI_00
[DeviceList.NTamd64]                                                          (3)
%PROVIDER_CDC% = DriverInstall, USB\VID_fffe&PID_1234&MI_00
 
; ================ Installation sections ==================                   (4)
 
[DriverInstall]                                                 
include   = mdmcpq.inf
CopyFiles = FakeModemCopyFileSection
AddReg    = LowerFilterAddReg,SerialPropPageAddReg
 
[DriverInstall.Services]                                        
include    = mdmcpq.inf
AddService = usbser, 0x00000002, LowerFilter_Service_Inst
 
[SerialPropPageAddReg]                                          
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
 
; ================== Strings section ====================== 
[Strings]                                                                     (5)
ProviderName = "Micrium"
PROVIDER_CDC = "Micrium CDC Device"

...

Anchor
Table - Micrium Class and Device Interface Class GUID
Table - Micrium Class and Device Interface Class GUID

Panel
borderWidth0
titleTable - Micrium Class and Device Interface Class GUID


Micrium USB classDevice interface class GUIDDefined in
HID{4d1e55b2-f16f-11cf-88cb-001111000030}app_hid_common.h
PHDC{143f20bd-7bd2-4ca6-9465-8882f2156bd6}usbdev_guid.h
Vendor{143f20bd-7bd2-4ca6-9465-8882f2156bd6}usbdev_guid.h


...