Table of Contents |
---|
maxLevel | 3 |
---|
minLevel | 2 |
---|
indent | 20px |
---|
|
...
Anchor |
---|
| Table - Windows Drivers Loaded for each Micrium USB Class |
---|
| Table - Windows Drivers Loaded for each Micrium USB Class |
---|
|
Panel |
---|
borderWidth | 0 |
---|
title | Table - Windows Drivers Loaded for each Micrium USB Class |
---|
|
Micrium class | Windows driver | Driver type | INF file type |
---|
Audio | Usbaudio.sys | Native | System INF file | CDC ACM | usbser.sys | Native | Vendor-specific INF file | HID | Hidclass.sys Hidusb.sys | Native | System INF file | MSC | Usbstor.sys | Native | System INF file | HDCP | winusb.sys (for getting started purpose only). | Native | Vendor-specific INF file | Vendor | winusb.sys | Native | Vendor-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 |
---|
language | cpp |
---|
title | Listing - Example of INF File Structure |
---|
linenumbers | true |
---|
|
; =================== 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" |
...