Subversion Repositories f9daq

Rev

Rev 23 | Blame | Compare with Previous | Last modification | View Log | RSS feed

;
; pcicc32.inf
;

[Version]
Signature="$WINDOWS NT$"
Class=Sample ; TODO: edit Class
ClassGuid={78A1C341-4539-11d3-B88D-00C04FAD5171} ; TODO: edit ClassGuid
Provider=%ManufacturerName%
CatalogFile=pcicc32.cat
DriverVer=02/10/2014,7.32.17.794

[DestinationDirs]
DefaultDestDir = 12

; ================= Class section =====================

[ClassInstall32]
Addreg=SampleClassReg

[SampleClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5

[SourceDisksNames]
1 = %DiskName%,,,""

[SourceDisksFiles]
pcicc32.sys  = 1,,

;*****************************************
; Install Section
;*****************************************

[Manufacturer]
%ManufacturerName%=Standard,NTx86

[Standard.NTx86]
%pcicc32.DeviceDesc%=pcicc32_Device, Root\pcicc32 ; TODO: edit hw-id

[pcicc32_Device.NT]
CopyFiles=Drivers_Dir

[Drivers_Dir]
pcicc32.sys

;-------------- Service installation
[pcicc32_Device.NT.Services]
AddService = pcicc32,%SPSVCINST_ASSOCSERVICE%, pcicc32_Service_Inst

; -------------- pcicc32 driver install sections
[pcicc32_Service_Inst]
DisplayName    = %pcicc32.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\pcicc32.sys
LoadOrderGroup = Extended Base

;
;--- pcicc32_Device Coinstaller installation ------
;

[DestinationDirs]
pcicc32_Device_CoInstaller_CopyFiles = 11

[pcicc32_Device.NT.CoInstallers]
AddReg=pcicc32_Device_CoInstaller_AddReg
CopyFiles=pcicc32_Device_CoInstaller_CopyFiles

[pcicc32_Device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01011.dll,WdfCoInstaller"

[pcicc32_Device_CoInstaller_CopyFiles]
WdfCoInstaller01011.dll

[SourceDisksFiles]
WdfCoInstaller01011.dll=1 ; make sure the number matches with SourceDisksNames

[pcicc32_Device.NT.Wdf]
KmdfService =  pcicc32, pcicc32_wdfsect
[pcicc32_wdfsect]
KmdfLibraryVersion = 1.11

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="" ; TODO: add ManufacturerName
ClassName="Samples" ; TODO: edit ClassName
DiskName = "pcicc32 Installation Disk"
pcicc32.DeviceDesc = "pcicc32 Device"
pcicc32.SVCDESC = "pcicc32 Service"