;
; AdvSensorClassDriver.inf
;
; Copyright (c) Intel Corporation.  All rights reserved.

[Version]
Signature   = "$Windows NT$"
Class       = Sensor
ClassGuid   = {5175D334-C371-4806-B3BA-71FD53C9258D}
Provider    = %INTC%
DriverVer=11/24/2015,3.0.20.3164
CatalogFile = AdvSensorClassDriver.cat

; =================== Manufacturer/Models sections =======================

[Manufacturer]
%INTC%                        = Intel,NTamd64.6.1,NTamd64.6.2,NTamd64.6.3,NTamd64.10.0

; For Windows 7
[Intel.NTamd64.6.1]
%AdvSensorClassDriver.Collection.DeviceDesc% = AdvSensorClassDriver_Install,HID\Vid_8087&Pid_0AC4

; For Windows 8.0
[Intel.NTamd64.6.2]
%AdvSensorClassDriver.Collection.DeviceDesc% = AdvSensorClassDriver_Install,HID\Vid_8087&Pid_0AC4

; For Windows 8.1
[Intel.NTamd64.6.3]
%AdvSensorClassDriver.Collection.DeviceDesc% = AdvSensorClassDriver_Install,HID\Vid_8087&Pid_0AC4

; For Windows 10
[Intel.NTamd64.10.0]
%AdvSensorClassDriver.Win10.Collection.DeviceDesc% = AdvSensorClassDriver_Install,HID\Vid_8087&Pid_0AC5


; =================== AdvSensorClassDriver Device ==================================

[AdvSensorClassDriver_Install.NT]
CopyFiles       = UMDriverCopy
;AddProperty     = DriverPropertiesSection

[AdvSensorClassDriver_Install.NT.hw]


[AdvSensorClassDriver_Install.NT.Services]
AddService      = WUDFRd,0x000001fa,WUDFRD_ServiceInstall

[AdvSensorClassDriver_Install.NT.CoInstallers]
AddReg          = WUDF_CoInstallers_AddReg
CopyFiles       = WUDF_CoInstallers_CopyFiles

[AdvSensorClassDriver_Install.NT.Wdf]
UmdfService             = AdvSensorClassDriver,UMDFAdvSensorClassDriver_Install
UmdfServiceOrder        = AdvSensorClassDriver
UmdfImpersonationLevel  = Impersonation

; =================== UMDF Service Install section ===================

[UMDFAdvSensorClassDriver_Install]
UmdfLibraryVersion=1.11.0
ServiceBinary = %12%\UMDF\AdvSensorClassDriver.dll
DriverCLSID   = {a65a2b1f-b99b-40f4-9fc3-7e76ffb21bcf}

[WUDFRD_ServiceInstall]
DisplayName     = %WudfRdDisplayName%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\WUDFRd.sys
LoadOrderGroup  = Base

[SourceDisksFiles]
AdvSensorClassDriver.dll  = 1
WudfUpdate_01011.dll = 1

[SourceDisksNames]
1 = %MediaDescription%

[WUDF_CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WudfUpdate_01011.dll"

[WUDF_CoInstallers_CopyFiles]
WudfUpdate_01011.dll

[DestinationDirs]
UMDriverCopy            = 12,UMDF    ; copy to drivers\UMDF
;CoInstallers_CopyFiles  = 11

[UMDriverCopy]
;AdvSensorClassDriver.dll,,,0x0      ; 0x100 means the driver is protected
AdvSensorClassDriver.dll,,,0x00004000  ; COPYFLG_IN_USE_RENAME

; =================== Driver Property section ===================

;[DriverPropertiesSection]
;DeviceIcon,,,,"%SystemRoot%\system32\sensorscpl.dll,-1000"

; ========================= Generic ==================================

[Strings]
;Localizable strings for Sensors HID Driver
INTC                        = "Intel Corporation"
MediaDescription            = "Intel Advanced Sensor HID Class Driver Installation Media"
ClassName                   = "HID Sensor Class Device"
WudfRdDisplayName           = "Windows Driver Foundation - User-mode Driver Framework Reflector"

AdvSensorClassDriver.Collection.DeviceDesc = "HID Advanced Sensor Collection"
AdvSensorClassDriver.Win10.Collection.DeviceDesc = "HID Advanced Sensor Collection"
;Non-localizable for Sensors HID Driver
