;
; ibtusbbl.inf
;

[Version]
Signature="$WINDOWS NT$"
Class=Bootloader
ClassGuid={854D3F8A-4921-43E3-BBA3-D4F1911611F9}
Provider=%ManufacturerName%
CatalogFile=ibtusbbl.cat
DriverVer=08/10/2015,15.41.38.304

[DestinationDirs]
DefaultDestDir = 12
firmware.Copy = 12

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

[SourceDisksFiles]
ibtusbbl.sys  = 1,,

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

[Manufacturer]
%ManufacturerName%=Standard,NTamd64

[Standard.NTx86]
%ibtusbbl.DeviceDesc.0A5A%=ibtusbbl_Device.ntx86, USB\VID_FFFF&PID_0A5A
%ibtusbbl.DeviceDesc%=ibtusbbl_Device.ntx86, USB\VID_FFFF&PID_0A5B

[Standard.NTamd64]
%ibtusbbl.DeviceDesc.0A5A%=ibtusbbl_Device.ntamd64, USB\VID_FFFF&PID_0A5A
%ibtusbbl.DeviceDesc%=ibtusbbl_Device.ntamd64, USB\VID_FFFF&PID_0A5B

[ibtusbbl_Device.NTx86]
CopyFiles=Drivers_Dir,firmware.Copy

[ibtusbbl_Device.NTamd64]
CopyFiles=Drivers_Dir,firmware.Copy

[Drivers_Dir]
ibtusbbl.sys

[ibtusbbl_Device.NTamd64.HW]
AddReg=ibtusbbl_AddReg

[ibtusbbl_AddReg]
; By default, USBDevice class uses iProduct descriptor to name the device in
; Device Manager on Windows 8 and higher.
; Uncomment for this device to use %DeviceName% on Windows 8 and higher:
;HKR,,FriendlyName,,%ibtusbbl.DeviceDesc%

;-------------- Class definition

[ClassInstall32]
AddReg = ClassInstall_AddReg

[ClassInstall_AddReg]
HKR,,,,%ClassName%
HKR,,NoInstallClass,,1
HKR,,IconPath,%REG_MULTI_SZ%,"%systemroot%\system32\setupapi.dll,-20"
HKR,,LowerLogoVersion,,5.2

;-------------- Service installation
[ibtusbbl_Device.NTamd64.Services]
AddService = ibtusbbl,%SPSVCINST_ASSOCSERVICE%, ibtusbbl_Service_Inst

; -------------- ibtusbbl driver install sections
[ibtusbbl_Service_Inst]
DisplayName    = %ibtusbbl.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\ibtusbbl.sys
LoadOrderGroup = Extended Base
AddReg = ibtusbbl_Service_Events_AddReg

[ibtusbbl_Device.NTamd64.Wdf]
KmdfService =  ibtusbbl, ibtusbbl_wdfsect

[ibtusbbl_wdfsect]
KmdfLibraryVersion = 1.11

[ibtusbbl_Service_Events_AddReg]
HKLM, %PathToEtwPublishers%\%ProviderGuid%, "", 0x00000000,"Intel-Bluetooth-Bootloader-USB"
HKLM, %PathToEtwPublishers%\%ProviderGuid%, "MessageFileName", 0x00020000, "%%SystemRoot%%\System32\Drivers\ibtusbbl.sys"
HKLM, %PathToEtwPublishers%\%ProviderGuid%, "ResourceFileName", 0x00020000, "%%SystemRoot%%\System32\Drivers\ibtusbbl.sys"
HKLM,"SOFTWARE\Intel\Bluetooth",PatchType,0x00010001,1

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="Intel Corporation"
ClassName="Bootloaders"
DiskName = "ibtusbbl Installation Disk"
ibtusbbl.DeviceDesc.0A5A = "Intel Bluetooth (LnP/SfP-A0) Bootloader Device"
ibtusbbl.DeviceDesc = "Intel Bluetooth (LnP/SfP-A0) Bootloader Device"
ibtusbbl.SVCDESC = "Intel Bluetooth Bootloader Service"
REG_MULTI_SZ = 0x00010000
PathToEtwPublishers = "SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers"
ProviderGuid = "{6FE328FC-9569-4BF0-993A-22B37EA6F688}"
INTEL						= "Intel"
BLUETOOTH					= "Bluetooth"

; === BDDATA/Firmware Files ====
[SourceDisksFiles]
370b1023000c200f00.bseq = 1
370b12060002340e00.bseq = 1
370b1223000c200f00.bseq = 1
370b10060002220e00.sfi = 1
370b12060002340e00.sfi = 1

[firmware.Copy]
370b1023000c200f00.bseq
370b12060002340e00.bseq
370b1223000c200f00.bseq
370b10060002220e00.sfi
370b12060002340e00.sfi
; === BDDATA/Firmware Files ====
