Rev 23 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | f9daq | 1 | ; |
2 | ; pcicc32.inf |
||
3 | ; |
||
4 | |||
5 | [Version] |
||
6 | Signature="$WINDOWS NT$" |
||
7 | Class=Sample ; TODO: edit Class |
||
8 | ClassGuid={78A1C341-4539-11d3-B88D-00C04FAD5171} ; TODO: edit ClassGuid |
||
9 | Provider=%ManufacturerName% |
||
10 | CatalogFile=pcicc32.cat |
||
11 | DriverVer=02/10/2014,7.32.20.51 |
||
12 | |||
13 | [DestinationDirs] |
||
14 | DefaultDestDir = 12 |
||
15 | |||
16 | ; ================= Class section ===================== |
||
17 | |||
18 | [ClassInstall32] |
||
19 | Addreg=SampleClassReg |
||
20 | |||
21 | [SampleClassReg] |
||
22 | HKR,,,0,%ClassName% |
||
23 | HKR,,Icon,,-5 |
||
24 | |||
25 | [SourceDisksNames] |
||
26 | 1 = %DiskName%,,,"" |
||
27 | |||
28 | [SourceDisksFiles] |
||
29 | pcicc32.sys = 1,, |
||
30 | |||
31 | ;***************************************** |
||
32 | ; Install Section |
||
33 | ;***************************************** |
||
34 | |||
35 | [Manufacturer] |
||
36 | %ManufacturerName%=Standard,NTx86 |
||
37 | |||
38 | [Standard.NTx86] |
||
39 | %pcicc32.DeviceDesc%=pcicc32_Device, Root\pcicc32 ; TODO: edit hw-id |
||
40 | |||
41 | [pcicc32_Device.NT] |
||
42 | CopyFiles=Drivers_Dir |
||
43 | |||
44 | [Drivers_Dir] |
||
45 | pcicc32.sys |
||
46 | |||
47 | ;-------------- Service installation |
||
48 | [pcicc32_Device.NT.Services] |
||
49 | AddService = pcicc32,%SPSVCINST_ASSOCSERVICE%, pcicc32_Service_Inst |
||
50 | |||
51 | ; -------------- pcicc32 driver install sections |
||
52 | [pcicc32_Service_Inst] |
||
53 | DisplayName = %pcicc32.SVCDESC% |
||
54 | ServiceType = 1 ; SERVICE_KERNEL_DRIVER |
||
55 | StartType = 3 ; SERVICE_DEMAND_START |
||
56 | ErrorControl = 1 ; SERVICE_ERROR_NORMAL |
||
57 | ServiceBinary = %12%\pcicc32.sys |
||
58 | LoadOrderGroup = Extended Base |
||
59 | |||
60 | ; |
||
61 | ;--- pcicc32_Device Coinstaller installation ------ |
||
62 | ; |
||
63 | |||
64 | [DestinationDirs] |
||
65 | pcicc32_Device_CoInstaller_CopyFiles = 11 |
||
66 | |||
67 | [pcicc32_Device.NT.CoInstallers] |
||
68 | AddReg=pcicc32_Device_CoInstaller_AddReg |
||
69 | CopyFiles=pcicc32_Device_CoInstaller_CopyFiles |
||
70 | |||
71 | [pcicc32_Device_CoInstaller_AddReg] |
||
72 | HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01011.dll,WdfCoInstaller" |
||
73 | |||
74 | [pcicc32_Device_CoInstaller_CopyFiles] |
||
75 | WdfCoInstaller01011.dll |
||
76 | |||
77 | [SourceDisksFiles] |
||
78 | WdfCoInstaller01011.dll=1 ; make sure the number matches with SourceDisksNames |
||
79 | |||
80 | [pcicc32_Device.NT.Wdf] |
||
81 | KmdfService = pcicc32, pcicc32_wdfsect |
||
82 | [pcicc32_wdfsect] |
||
83 | KmdfLibraryVersion = 1.11 |
||
84 | |||
85 | [Strings] |
||
86 | SPSVCINST_ASSOCSERVICE= 0x00000002 |
||
87 | ManufacturerName="" ; TODO: add ManufacturerName |
||
88 | ClassName="Samples" ; TODO: edit ClassName |
||
89 | DiskName = "pcicc32 Installation Disk" |
||
90 | pcicc32.DeviceDesc = "pcicc32 Device" |
||
91 | pcicc32.SVCDESC = "pcicc32 Service" |