113 lines
6.5 KiB
INI
113 lines
6.5 KiB
INI
;/*++
|
|
;
|
|
;Copyright (c) Microsoft Corporation. All rights reserved.
|
|
;
|
|
;Module Name:
|
|
;
|
|
; SIMPLE.INF
|
|
;
|
|
;Abstract:
|
|
; INF file for installing toaster device drivers. This is an
|
|
; extremely simple form of INF. This one uses one of the system
|
|
; defined icon for its class instead of one the provided by the
|
|
; toaster class installer DLL. To test this INF, make sure
|
|
; the toaster class is not previously installed on the system.
|
|
; If it is installed, you must remove the existing Toaster class key
|
|
; (HKLM\System\CurrentControlSet\Control\Class\{B85B7C50-6A01-11d2-B841-00C04FAD5171})
|
|
; from the registry. Otherwise the setup ignores the entire
|
|
; [ClassInstall32] section if it finds the toaster class guid
|
|
; in the registy.
|
|
;
|
|
;--*/
|
|
|
|
[Version]
|
|
Signature="$WINDOWS NT$"
|
|
Class=InsydeDevice
|
|
ClassGuid={416C2604-443B-436F-9E1D-607BDC3CC785}
|
|
Provider=%ProviderName%
|
|
DriverVer = 06/03/2021,9.31.20.62
|
|
PnpLockdown=1
|
|
CatalogFile=H2OFFT.cat
|
|
|
|
[DestinationDirs]
|
|
DefaultDestDir = 12
|
|
|
|
;*****************************************
|
|
; Class Section
|
|
;*****************************************
|
|
[ClassInstall32]
|
|
Addreg=InsydeDrvReg
|
|
|
|
[InsydeDrvReg]
|
|
HKR,,,0,%ClassName%
|
|
HKR,,Icon,,-5
|
|
HKR,,DeviceCharacteristics,0x10001,0x100 ;Use same security checks on relative opens
|
|
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)(A;;GA;;;LS)" ;Allow generic all access to system, built-in Admin, and Local System.
|
|
;This one overrides the security set by the driver
|
|
|
|
;*****************************************
|
|
; Insyde Device Install Section
|
|
;*****************************************
|
|
|
|
[Manufacturer]
|
|
%MFGNAME%=Standard,NTamd64,NTx86
|
|
|
|
[Standard.NTamd64]
|
|
%WdfDevice.DeviceDesc%=Insyde_Device64, {416C2604-443B-436F-9E1D-607BDC3CC785}\H2OFFT
|
|
|
|
[Standard.NTx86]
|
|
%WdfDevice.DeviceDesc%=Insyde_Device32, {416C2604-443B-436F-9E1D-607BDC3CC785}\H2OFFT
|
|
|
|
[Insyde_Device64.NT]
|
|
CopyFiles=Insyde_Device64.NT.Copy
|
|
|
|
[Insyde_Device32.NT]
|
|
CopyFiles=Insyde_Device32.NT.Copy
|
|
|
|
[Insyde_Device64.NT.Copy]
|
|
H2OFFT64.sys
|
|
|
|
[Insyde_Device32.NT.Copy]
|
|
H2OFFT32.sys
|
|
|
|
;-------------- Service installation
|
|
|
|
[Insyde_Device64.NT.Services]
|
|
AddService = H2OFFT, %SPSVCINST_ASSOCSERVICE%, wdf_Service_Inst64
|
|
|
|
[Insyde_Device32.NT.Services]
|
|
AddService = H2OFFT, %SPSVCINST_ASSOCSERVICE%, wdf_Service_Inst32
|
|
|
|
[wdf_Service_Inst64]
|
|
DisplayName = %WDF.SVCDESC%
|
|
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
|
|
StartType = 3 ; SERVICE_DEMAND_START
|
|
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
|
|
ServiceBinary = %12%\H2OFFT64.sys
|
|
|
|
[wdf_Service_Inst32]
|
|
DisplayName = %WDF.SVCDESC%
|
|
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
|
|
StartType = 3 ; SERVICE_DEMAND_START
|
|
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
|
|
ServiceBinary = %12%\H2OFFT32.sys
|
|
|
|
[SourceDisksNames]
|
|
1 = %DiskId1%,,,""
|
|
|
|
[SourceDisksFiles.amd64]
|
|
H2OFFT64.sys = 1,,
|
|
|
|
[SourceDisksFiles.x86]
|
|
H2OFFT32.sys = 1,,
|
|
|
|
|
|
[Strings]
|
|
SPSVCINST_ASSOCSERVICE = 0x00000002
|
|
ProviderName = "Insyde"
|
|
ClassName = "H2O devices"
|
|
MFGNAME = "Insyde"
|
|
DiskId1 = "Insyde IO Device Installation Disk #1"
|
|
WdfDevice.DeviceDesc = "WDF Insyde IO"
|
|
WDF.SVCDESC = "WDF Insyde IO Device Driver"
|