/*++ ; ;Copyright (c) Microsoft Corporation. All rights reserved. ; ;Module Name: ; SensorsComboDriver.INF ; ;Abstract: ; INF file for installing the Sensors Combo Driver ; ;Installation Notes: ; Using Devcon: Type "devcon install SensorsComboDriver.inf umdf2\SensorsComboDriver" to install ; ;--*/ [Version] Signature = "$WINDOWS NT$" Class = Sensor ClassGuid = {5175D334-C371-4806-B3BA-71FD53C9258D} Provider = %PROVIDER% CatalogFile = SensorsComboDriver.cat DriverVer = 8/29/2014,2.00.00.03 PnpLockdown = 1 [SourceDisksNames] 1 = %MediaDescription%,,,"" [SourceDisksFiles] SensorsComboDriver.dll = 1,, [Manufacturer] %PROVIDER% = SensorsComboDriver_Device, NT$ARCH$ ;******************************* ; Combo Driver Install Section ;******************************* [SensorsComboDriver_Device.NT$ARCH$] ; DisplayName Section DeviceId ; ----------- ------- -------- %SensorsComboDriver_DevDesc% = SensorsComboDriver_Inst, umdf2\SensorsComboDriver [SensorsComboDriver_Inst.NT] CopyFiles = SensorsComboDriverCopy [SensorsComboDriverCopy] SensorsComboDriver.dll [DestinationDirs] ;12 == Windows\System32\Drivers\UMDF DefaultDestDir = 12,UMDF ;-------------- Service installation [SensorsComboDriver_Inst.NT.Services] AddService = WUDFRd,0x000001fa,WUDFRD_ServiceInstall [WUDFRD_ServiceInstall] DisplayName = %WudfRdDisplayName% ServiceType = %SERVICE_KERNEL_DRIVER% StartType = %SERVICE_DEMAND_START% ErrorControl = %SERVICE_ERROR_NORMAL% ServiceBinary = %12%\WUDFRd.sys ;-------------- WDF specific section [SensorsComboDriver_Inst.NT.Wdf] UmdfService = SensorsComboDriver, SensorsComboDriver_Install UmdfServiceOrder = SensorsComboDriver UmdfDirectHardwareAccess = AllowDirectHardwareAccess UmdfFileObjectPolicy = AllowNullAndUnknownFileObjects UmdfFsContextUsePolicy = CannotUseFsContexts [SensorsComboDriver_Install] UmdfLibraryVersion = $UMDFVERSION$ ServiceBinary = %12%\UMDF\SensorsComboDriver.dll UmdfExtensions = SensorsCx0102 [Strings] ;Localizable Strings MediaDescription = "Windows Sensors Combo Driver" PROVIDER = "Manufacturer Name" SensorsComboDriver_DevDesc = "Sensors Combo Driver - Ambient Light, Barometer, Gyroscope, Magnetometer, Proximity, and Relative Fusion, and more." WudfRdDisplayName = "Windows Driver Foundation - User-mode Driver Framework Reflector" ;Non-Localizable Strings SERVICE_KERNEL_DRIVER = 1 SERVICE_DEMAND_START = 3 SERVICE_ERROR_NORMAL = 1