1; CDC_ACM.inf
2;
3; INF file for Microsoft Azure RTOS simple CDC/ACM class
4;
5; 1) Replace VID/PID to your own in [MYCORP] section
6;      VID_vvvv&PID_pppp
7;          vvvv, pppp: four digit hex number of VID and PID, respectively
8;
9; 2) Replace 'MYCORP' to your own abbreviated one (without space)
10;      ex Microsoft Azure RTOS
11;     - Replace all MYCORP in this inf file
12;
13; 3) Replace 'MYDEV000' to your device model number (without space)
14;      ex CDC ACM Example
15;     - Replace all MYDEV000 in this inf file
16;
17; 4) Edit the strings in [Strings] section
18;
19
20[Version]
21Signature="$Windows NT$"
22Class=Ports
23ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
24
25Provider=%MYCORP%
26LayoutFile=layout.inf
27DriverVer=08/04/2004,5.1.2600.2180
28
29[Manufacturer]
30%MYCORP%=MYCORP
31
32[MYCORP]
33%MYDEV000%= MYDEV000,USB\VID_9191&PID_0000
34%MYDEV000% = MYDEV000,USB\VID_8080&PID_0000&MI_00
35
36[DestinationDirs]
37FakeModemCopyFileSection=12
38DefaultDestDir = 12
39
40[MYDEV000.NT]
41include=mdmcpq.inf
42CopyFiles=FakeModemCopyFileSection
43AddReg=MYDEV000.NT.AddReg
44
45[MYDEV000.NT.Services]
46AddService = usbser, 0x00000002, Service_Inst
47
48[Service_Inst]
49DisplayName = %Serial.SvcDesc%
50ServiceType = 1 ; SERVICE_KERNEL_DRIVER
51StartType = 3 ; SERVICE_DEMAND_START
52ErrorControl = 1 ; SERVICE_ERROR_NORMAL
53ServiceBinary = %12%\usbser.sys
54LoadOrderGroup = Base
55
56[MYDEV000.NT.AddReg]
57HKR,,NTMPDriver,,*ntkern
58HKR,,NTMPDriver,,usbser.sys
59HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
60HKR,,PortSubClass,1,01
61
62[Strings]
63MYCORP = "Microsoft Corporation"      ; Your company name
64MYDEV000 = "CDC ACM example device"   ; Device description
65Serial.SvcDesc = "CDC ACM Driver"     ; Device driver description