;*****************************************************************************
;*
;*  AIRPLANEMODEHID.INF  -   Airplane Mode Mini-Driver
;*  Copyright 2012-2019, Insyde Software Corp.
;*
;*  INF File for AirplaneMode Miniport Driver
;*
;*****************************************************************************

[Version]
Signature="$WINDOWS NT$"
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%ManufacturerName%
CatalogFile=AirplaneModeHid.cat
DriverVer = 09/01/2021,1.5.0.9
PnpLockdown=1

[DestinationDirs]
DefaultDestDir = 12
AirplaneModeHid_Device_CoInstaller_CopyFiles = 11

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

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

[SourceDisksFiles]
AirplaneModeHid.sys  = 1,,
;


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

[Manufacturer]
%ManufacturerName%=Standard,NTamd64

[Standard.NTamd64]
%AirplaneModeHid.DeviceDesc%=AirplaneModeHid_Device, ACPI\CLV0003

[AirplaneModeHid_Device.NT]
CopyFiles=Drivers_Dir

[AirplaneModeHid_Device.NT.HW]
AddReg = AirplaneModeHid_Device_Parameters.AddReg

[Drivers_Dir]
AirplaneModeHid.sys

;-------------- Service installation
[AirplaneModeHid_Device.NT.Services]
AddService = AirplaneModeHid,%SPSVCINST_ASSOCSERVICE%, AirplaneModeHid_Service_Inst

; -------------- AirplaneModeHid driver install sections
[AirplaneModeHid_Service_Inst]
DisplayName    = %AirplaneModeHid.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 0               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\AirplaneModeHid.sys

[AirplaneModeHid_Device_Parameters.AddReg]
HKR,,"UpperFilters",0x00010000,"mshidkmdf"

;
;--- AirplaneModeHid_Device Coinstaller installation ------
;

[AirplaneModeHid_Device.NT.CoInstallers]
AddReg=AirplaneModeHid_Device_CoInstaller_AddReg
CopyFiles=AirplaneModeHid_Device_CoInstaller_CopyFiles

[AirplaneModeHid_Device_CoInstaller_AddReg]
;


[AirplaneModeHid_Device_CoInstaller_CopyFiles]
;


[AirplaneModeHid_Device.NT.Wdf]
KmdfService =  AirplaneModeHid, AirplaneModeHid_wdfsect
[AirplaneModeHid_wdfsect]
KmdfLibraryVersion = 1.15

[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
ManufacturerName = "Insyde"
DiskName = "Insyde Airplane Mode Driver Installation Disk"
AirplaneModeHid.DeviceDesc = "Insyde Airplane Mode HID Device"
AirplaneModeHid.SVCDESC = "Insyde Airplane Mode HID Mini-Driver"
Publisher = "Insyde Software Corporation"
