;/*++ ; ;Copyright (c) 1990-2000 Microsoft Corporation ; ;Module Name: ; SingleComponentFStateSample.INF ; ;Abstract: ; INF file for installing SingleComponentFStateSample Driver ; ;Installation Notes: ; Using Devcon: Type "devcon install SingleComponentFStateSample.inf root\SingleComponentFStateDevice" to install ; ;Important: ; This INF depends on features for the Driver Store DIRIDs which are available starting Windows 10 1709 ; ;--*/ [Version] Signature="$WINDOWS NT$" Class=Sample ClassGuid={78A1C341-4539-11d3-B88D-00C04FAD5171} Provider=%ProviderString% CatalogFile=KmdfSamples.cat PnpLockdown=1 [DestinationDirs] DefaultDestDir = 13 [SourceDisksNames] 1 = %DiskId1%,,,"" [SourceDisksFiles] SingleComponentFStateDriver.sys = 1,, ; ================= Class section ===================== [ClassInstall32] Addreg=SampleClassReg [SampleClassReg] HKR,,,0,%ClassName% HKR,,Icon,,-5 ;***************************************** ; SingleComponentFStateDevice Install Section ;***************************************** [Manufacturer] %StdMfg%=Standard,NT$ARCH$.10.0...16299 [Standard.NT$ARCH$.10.0...16299] %SingleComponentFStateDevice.DeviceDesc%=SingleComponentFStateDevice, root\SingleComponentFStateDevice [SingleComponentFStateDevice.NT] CopyFiles=Drivers_Dir [Drivers_Dir] SingleComponentFStateDriver.sys ;-------------- Service installation [SingleComponentFStateDevice.NT.Services] AddService = SingleComponentFStateSvc, %SPSVCINST_ASSOCSERVICE%, SingleComponentFStateSvc_Service_Inst ; -------------- SingleComponentFStateDevice driver install sections [SingleComponentFStateSvc_Service_Inst] DisplayName = %SingleComponentFStateSvc.SVCDESC% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %13%\SingleComponentFStateDriver.sys [SingleComponentFStateDevice.NT.Wdf] KmdfService = SingleComponentFStateSvc, SingleComponentFStateDevice_wdfsect [SingleComponentFStateDevice_wdfsect] KmdfLibraryVersion = $KMDFVERSION$ [Strings] SPSVCINST_ASSOCSERVICE= 0x00000002 ProviderString = "TODO-Set-Provider" StdMfg = "(Standard system devices)" DiskId1 = "WDF Sample SingleComponentFStateDevice Installation Disk #1" SingleComponentFStateDevice.DeviceDesc = "Single comp F State Device" SingleComponentFStateSvc.SVCDESC = "Single comp F State Service" ClassName = "Sample Device"