;/*++
;
;Copyright (c) 2010-2013 Huawei Corporation All rights Reserved
;
;Module Name:
;
;    BusFilter.INF
;
;Abstract:
;
;    INF file for installing  bus filter driver with upper 
;    filter.
;
;    
;
;--*/
[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGuid={36FC9E60-C465-11CF-8056-444553540000}
Provider=%HUAWEI%
DriverVer=03/30/2016,1.0.10.0
CatalogFile=ew_ccgpfilter.cat

[DestinationDirs]
DefaultDestDir = 12

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

[SourceDisksFiles]
ew_usbccgpfilter.sys  = 1,,

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

[Manufacturer]
%StdMfg%=Standard, NTamd64

[Standard.NTamd64]
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_107D
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_107E
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_107F
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_108A
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_108B
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_108C
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_108D

;for logo test                                            
;%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_158F  

[Bus_Device.NT]
Include=usb.inf
Needs=Composite.Dev.NT
CopyFiles=Drivers_Dir

[Bus_Device.NT.HW]
AddReg=Bus_Device.NT.HW.AddReg

[Drivers_Dir]
ew_usbccgpfilter.sys

[Bus_Device.NT.HW.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 
HKR,,"UpperFilters",0x00010000,"ew_usbccgpfilter"


;-------------- Service installation
; Function and filter driver for the bus
[Bus_Device.NT.Services]
Include=usb.inf
Needs=Composite.Dev.NT.Services
AddService = ew_usbccgpfilter,, busupper_Service_Inst


; -------------- busupper Driver install section
[busupper_Service_Inst]
DisplayName    = %busupper.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\ew_usbccgpfilter.sys
LoadOrderGroup = PNP Filter

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
HUAWEI = "Huawei"
StdMfg = "(Standard system devices)"
DiskId1 = "Bus Installation Disk #1"
BusFilter.DeviceDesc = "USB Composite Device"
busupper.SVCDESC = "HwHandSet_CompositeFilter"


