;/*++
;
;Copyright (c) 1990-1999 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/28/2011,1.0.3.0
CatalogFile=ew_usbenumfilter.cat

[DestinationDirs]
DefaultDestDir = 12

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

[SourceDisksFiles]
ew_usbenumfilter.sys  = 1,,

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

[Manufacturer]
%StdMfg%=Standard

[Standard]
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_1506
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_1507
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_1508
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_1509
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_150A
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_150B
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_150C
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_150D
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_150E
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_150F
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_14C6
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_14C7
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_14C8
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_14C9
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_14CA
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_14CB
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_14CC
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_14CD
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_14CE
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_14CF
;for logo test                                            
%BusFilter.DeviceDesc%=Bus_Device, USB\VID_12D1&PID_15FF  

[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_usbenumfilter.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_usbenumfilter"


;-------------- Service installation
; Function and filter driver for the bus
[Bus_Device.NT.Services]
Include=usb.inf
Needs=Composite.Dev.NT.Services
AddService = ew_usbenumfilter,, 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_usbenumfilter.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 = "huawei_CompositeFilter"


