;/*++
;
;Copyright (c) 2008-2012 DriverCoding Corporation All rights Reserved
;
;Module Name:
;
;    sprdlte_9610_enum.INF
;
;Abstract:
;    INF file for installing drivercoding generic enumerator driver
;
;
;--*/
[Version]
Signature = "$WINDOWS NT$"
Class = USB
ClassGuid = {36fc9e60-c465-11cf-8056-444553540000}
Provider = %PROVIDER%
DriverVer = 01/14/2014,1.0.0.12
CatalogFile = sprdlte_9610_enum.cat

[DestinationDirs]
DefaultDestDir = 12

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

[SourceDisksFiles]
sprdlte_9610_enum.sys  = 1,,

[Manufacturer]
%StdMfg%=Standard,NTx86,NTamd64

; For Win2K because it cannot parse decorated sections
[Standard]
%DeviceDesc%=enumroot_device, SPRDLTE_9610_ENUMROOT
%SPRDLTE_9610_USBENUM%=enumroot_device, USB\VID_1782&PID_0006&MI_01
%SPRDLTE_9610_USBENUM%=enumroot_device, USB\VID_1782&PID_0008&MI_01
%SPRDLTE_9610_USBENUM%=enumroot_device, USB\VID_1782&PID_000A&MI_02

; For XP and later
[Standard.NTx86]
%DeviceDesc%=enumroot_device, SPRDLTE_9610_ENUMROOT
%SPRDLTE_9610_USBENUM%=enumroot_device, USB\VID_1782&PID_0006&MI_01
%SPRDLTE_9610_USBENUM%=enumroot_device, USB\VID_1782&PID_0008&MI_01
%SPRDLTE_9610_USBENUM%=enumroot_device, USB\VID_1782&PID_000A&MI_02

[Standard.NTamd64]
%DeviceDesc%=enumroot_device, SPRDLTE_9610_ENUMROOT
%SPRDLTE_9610_USBENUM%=enumroot_device, USB\VID_1782&PID_0006&MI_01
%SPRDLTE_9610_USBENUM%=enumroot_device, USB\VID_1782&PID_0008&MI_01
%SPRDLTE_9610_USBENUM%=enumroot_device, USB\VID_1782&PID_000A&MI_02

[enumroot_device.NT]
CopyFiles=Drivers_Dir

[enumroot_device.NT.HW]
AddReg=enumroot_device.NT.AddReg

[enumroot_device.NT.AddReg]                            
HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system 

[Drivers_Dir]
sprdlte_9610_enum.sys


;-------------- Service installation
[enumroot_device.NT.Services]
AddService = sprdlte_9610_enum,%SPSVCINST_ASSOCSERVICE%, enumroot_Service_Inst

; -------------- enumroot driver install sections
[enumroot_Service_Inst]
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\sprdlte_9610_enum.sys
LoadOrderGroup = Extended Base

;
;--- enumroot_device Coinstaller installation ------
;
[DestinationDirs]
enumroot_device_CoInstaller_CopyFiles = 11

[enumroot_device.NT.CoInstallers]
AddReg=enumroot_device_CoInstaller_AddReg
CopyFiles=enumroot_device_CoInstaller_CopyFiles

[enumroot_device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"

[enumroot_device_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

[SourceDisksFiles]
WdfCoInstaller01009.dll=1 ; make sure the number matches with SourceDisksNames

[enumroot_device.NT.Wdf]
KmdfService = sprdlte_9610_enum, enumroot_wdfsect

[enumroot_wdfsect]
KmdfLibraryVersion = 1.9


[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
PROVIDER = "DriverCoding Corporation"
StdMfg = "DriverCoding Corporation"
DiskId1 = "DriverCoding Spreadtrum LTE Enumerator driver Installation Disk #1"
DeviceDesc = "DriverCoding Enumerator Control Root Device"
DeviceDescUSB = "DriverCoding USB Enumerator Device"
SPRDLTE_9610_USBENUM = "SPRD LTE USB Enumerator device"
SETUP_SEQ = 2
