;
;Copyright @ 2014 BFDX
;

[Version]
Signature = "$Windows NT$"
Class = BFDX Devices
ClassGuid= {8917B251-9D8D-4ddd-9E12-E4014B959E4C}

Provider = %MFGNAME%
DriverVer=12/28/2014,1.2.0.0
CatalogFile=catalog64.cat
;CatalogFile=MCHPWinUSBDevice_v2.cat	;CAT file used when obtaining a WHQL signature on the driver package
					;Otherwise isn't needed.
;------------------------------------------------------------------------------
; ========== Manufacturer/Models sections ===========
;------------------------------------------------------------------------------
[Manufacturer]
%MFGNAME% = BFDX,NTamd64

;------------------------------------------------------------------------------
;  Vendor and Product ID Definitions
;------------------------------------------------------------------------------
[BFDX.NTamd64]
%USB\BFDX.DeviceDesc% =USB_Install, USB\VID_bf88&PID_8888,

%USB\BFDH100.DeviceDesc% =USB_Install, USB\VID_bf88&PID_0001,
%USB\BFDH101.DeviceDesc% =USB_Install, USB\VID_bf88&PID_0003,

%USB\BFDR100.DeviceDesc% =USB_Install, USB\VID_bf88&PID_2001,
%USB\BFDM100.DeviceDesc% =USB_Install, USB\VID_bf88&PID_1001,

%USB\BFDH102.DeviceDesc% =USB_Install, USB\VID_bf88&PID_0004,
%USB\BFDH103.DeviceDesc% =USB_Install, USB\VID_bf88&PID_0005,

%USB\BFDH200.DeviceDesc% =USB_Install, USB\VID_bf88&PID_0006,
%USB\BFDH201.DeviceDesc% =USB_Install, USB\VID_bf88&PID_0002,

%USB\BFDH104.DeviceDesc% =USB_Install, USB\VID_bf88&PID_0007,
%USB\BFDH105.DeviceDesc% =USB_Install, USB\VID_bf88&PID_0008,

%USB\BFDM101.DeviceDesc% =USB_Install, USB\VID_bf88&PID_1002,

%USB\BFDH202.DeviceDesc% =USB_Install, USB\VID_bf88&PID_0010,
%USB\BFDH203.DeviceDesc% =USB_Install, USB\VID_bf88&PID_0009,

%USB\BFDM005.DeviceDesc% =USB_Install, USB\VID_bf88&PID_1003,

;=========================================================================================
;ClassInstall32 and ClassInstall_AddReg sections used to make new device manager category.
;=========================================================================================
[ClassInstall32]
AddReg=ClassInstall_AddReg

[ClassInstall_AddReg]
HKR,,,,%DEVICEMANAGERCATEGORY%
HKR,,Icon,,"-20"

; =================== Installation ===================
[USB_Install]
Include=winusb.inf
Needs=WINUSB.NT

[USB_Install.Services]
Include=winusb.inf
AddService=WinUSB,0x00000002,WinUSB_ServiceInstall

[WinUSB_ServiceInstall]
DisplayName     = %WinUSB_SvcDesc%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\WinUSB.sys

[USB_Install.Wdf]
KmdfService=WINUSB, WinUsb_Install
UmdfServiceOrder=WINUSB

[WinUSB_Install]
KmdfLibraryVersion=1.9

[USB_Install.HW]
AddReg=Dev_AddReg

[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{594F4A19-1E5C-4c7f-9EB0-89115999DEA0}"

[USB_Install.CoInstallers]
AddReg=CoInstallers_AddReg
CopyFiles=CoInstallers_CopyFiles

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"winusbcoinstaller2.dll","WUDFUpdate_01009.dll","WdfCoInstaller01009.dll,WdfCoInstaller"

[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01009.dll
WUDFUpdate_01009.dll

[DestinationDirs]
CoInstallers_CopyFiles=11

; ================= Source Media Section =====================
[SourceDisksNames]
1 = %DISK_NAME%,,,\amd64

[SourceDisksFiles]
WinUSBCoInstaller2.dll=1
WdfCoInstaller01009.dll=1
WUDFUpdate_01009.dll=1

; Copy Files section
;------------------------------------------------------------------------------
[_CopyFiles_sys]
winusb.sys

;************************************************* *****************************
; Destination Directories
;------------------------------------------------------------------------------
[DestinationDirs]
DefaultDestDir = 12 ; %SystemRoot%\system32\drivers
_CopyFiles_sys = 12

; =================== Strings ===================

[Strings]
MFGNAME="BFDX Co., Ltd"
WinUSB_SvcDesc="BFDX Devices Install"
DISK_NAME="BFDX Devices Install Disk"
DEVICEMANAGERCATEGORY="BFDX Devices"
USB\BFDX.DeviceDesc="BFDX Device"

USB\BFDH100.DeviceDesc="BF-P108"
USB\BFDH101.DeviceDesc="BF-P118"

USB\BFDR100.DeviceDesc="BF-R1000"
USB\BFDM100.DeviceDesc="BF-M100"

USB\BFDH102.DeviceDesc="BF-P500"
USB\BFDH103.DeviceDesc="BF-P501"

USB\BFDH200.DeviceDesc="BF-TD500"
USB\BFDH201.DeviceDesc="BF-TD501"

USB\BFDH104.DeviceDesc="BF-P108B"
USB\BFDH105.DeviceDesc="BF-P118B"

USB\BFDM101.DeviceDesc="BF-M100B"

USB\BFDH202.DeviceDesc="BF-TD502"
USB\BFDH203.DeviceDesc="BF-TD503"

USB\BFDM005.DeviceDesc="BF-MT7250"
