lpus-driver/lpus/lpus.inf
2020-06-11 17:17:12 +07:00

87 lines
2.1 KiB
INI

;
; lpus.inf
;
[Version]
Signature="$WINDOWS NT$"
Class=Sample ; TODO: edit Class
ClassGuid={78A1C341-4539-11d3-B88D-00C04FAD5171} ; TODO: edit ClassGuid
Provider=%ManufacturerName%
CatalogFile=lpus.cat
DriverVer= ; TODO: set DriverVer in stampinf property pages
[DestinationDirs]
DefaultDestDir = 12
lpus_Device_CoInstaller_CopyFiles = 11
; ================= Class section =====================
[ClassInstall32]
Addreg=SampleClassReg
[SampleClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5
[SourceDisksNames]
1 = %DiskName%,,,""
[SourceDisksFiles]
lpus.sys = 1,,
WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll=1 ; make sure the number matches with SourceDisksNames
;*****************************************
; Install Section
;*****************************************
[Manufacturer]
%ManufacturerName%=Standard,NT$ARCH$
[Standard.NT$ARCH$]
%lpus.DeviceDesc%=lpus_Device, Root\lpus ; TODO: edit hw-id
[lpus_Device.NT]
CopyFiles=Drivers_Dir
[Drivers_Dir]
lpus.sys
;-------------- Service installation
[lpus_Device.NT.Services]
AddService = lpus,%SPSVCINST_ASSOCSERVICE%, lpus_Service_Inst
; -------------- lpus driver install sections
[lpus_Service_Inst]
DisplayName = %lpus.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\lpus.sys
;
;--- lpus_Device Coinstaller installation ------
;
[lpus_Device.NT.CoInstallers]
AddReg=lpus_Device_CoInstaller_AddReg
CopyFiles=lpus_Device_CoInstaller_CopyFiles
[lpus_Device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll,WdfCoInstaller"
[lpus_Device_CoInstaller_CopyFiles]
WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll
[lpus_Device.NT.Wdf]
KmdfService = lpus, lpus_wdfsect
[lpus_wdfsect]
KmdfLibraryVersion = $KMDFVERSION$
[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="<Your manufacturer name>" ;TODO: Replace with your manufacturer name
ClassName="Samples" ; TODO: edit ClassName
DiskName = "lpus Installation Disk"
lpus.DeviceDesc = "lpus Device"
lpus.SVCDESC = "lpus Service"