; Microsoft Windows Bluetooth LE Driver Inf
; Copyright (c) 2010 Microsoft Corporation

[Version]
Signature="$Windows NT$"
Class=Bluetooth
Provider=%Microsoft%
CLASSGUID={e0cbf06c-cd8b-4647-bb8a-263b43f0f974}
DriverVer=06/21/2006,10.0.14393.2214

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
BthLEEnum.sys = 3426

[DestinationDirs]
BthLEEnum.NT.Copy = 12                   ;DIRID_DRIVERS

[ControlFlags]
ExcludeFromSelect = *
BasicDriverOk = *

[Manufacturer]
%Microsoft%=Microsoft, NTamd64

[Microsoft.NTamd64]
%BTH\MS_BTHLE.DeviceDesc%=                      BthLEEnum, BTH\MS_BTHLE
%BTHLE\DevicePdo.DeviceDesc%=                   BthLEEnum.Device, BTHLE\GenericDevice
%BTHLEDevice\{00001800-0000-1000-8000-00805f9b34fb}%= AttGenericService, BTHLEDevice\{00001800-0000-1000-8000-00805f9b34fb}
%BTHLEDevice\{00001801-0000-1000-8000-00805f9b34fb}%= AttGenericService, BTHLEDevice\{00001801-0000-1000-8000-00805f9b34fb}
%BTHLEDevice\{0000180A-0000-1000-8000-00805f9b34fb}%= AttGenericService, BTHLEDevice\{0000180A-0000-1000-8000-00805f9b34fb}
%BTHLEDevice\{00001813-0000-1000-8000-00805f9b34fb}%= AttGenericService, BTHLEDevice\{00001813-0000-1000-8000-00805f9b34fb}
%BTHLEDevice\GenericATTService%=                AttGenericService, BTHLEDevice\GenericATTService

;----------------------------------------------------------------------------
; BthLEEnum Root support sections
;----------------------------------------------------------------------------
[BthLEEnum.NT]
CopyFiles=BthLEEnum.NT.Copy

[BthLEEnum.NT.Copy]
BthLEEnum.sys,,,0x100

[BthLEEnum.NT.Services]
AddService = BthLEEnum, 0x00000002, BthLEEnum_Service_Inst, BthLEEnum_EventLog_Inst

;----------------------------------------------------------------------------
; BthLEEnum Device support sections
;----------------------------------------------------------------------------
[BthLEEnum.Device.NT]
CopyFiles=BthLEEnum.NT.Copy
AddReg=BthLEEnum.Device.NT.AddReg

[BthLEEnum.Device.NT.Services]
AddService = BthLEEnum, 0x00000002, BthLEEnum_Service_Inst, BthLEEnum_EventLog_Inst

[BthLEEnum.Device.NT.AddReg]
HKR,"AttributeCache"

[BthLEEnum.Device.NT.AddReg.Security]
"D:P(A;;GA;;;SY)"

[BthLEEnum_Service_Inst]
;-----------------------------------------------------
DisplayName     = %BthLEEnum.SVCDESC%
ServiceType     = 1 ;SERVICE_KERNEL_DRIVER
StartType       = 3 ;SERVICE_DEMAND_START
ErrorControl    = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\BthLEEnum.sys
AddReg          = BthLEEnum_Service_Inst.Policy.AddReg

[BthLEEnum_Service_Inst.Policy.AddReg]
; Enterprise Management Policy Store
HKR,"Parameters\Policy",, 0x00000010
HKR,"Parameters\Policy", "PM_AllowBluetooth",        %REG_DWORD%  ,2
HKR,"Parameters\Policy", "PM_AllowDiscoverableMode", %REG_DWORD%  ,1
HKR,"Parameters\Policy", "PM_AllowConnectableMode",  %REG_DWORD%  ,1
HKR,"Parameters\Policy", "PM_AllowAdvertising",      %REG_DWORD%  ,1
HKR,"Parameters\Policy", "PM_AllowOutOfBandPairing", %REG_DWORD%  ,1
HKR,"Parameters\Policy", "PM_LinkSecurityLevel",     %REG_DWORD%  ,0
HKR,"Parameters\Policy", "PM_LocalDeviceName",       %REG_SZ%     ,""
HKR,"Parameters\Policy", "PM_DevicesAllowedList",    %REG_BINARY% ,00
HKR,"Parameters\Policy", "PM_ServicesAllowedList",   %REG_BINARY% ,00
HKR,"Parameters\Policy", "PM_RequireRestrictedMode", %REG_DWORD%  ,0

[BthLEEnum_Service_Inst.Policy.AddReg.Security]
; add the ability for BthServ to modify the key and subkeys
"D:AR(A;CI;KA;;;S-1-5-80-2586557155-168560303-1373426920-983201488-1499765686)(A;CI;KA;;;SY)(A;CI;KA;;;BA)(A;CIIO;KA;;;CO)(A;CI;KR;;;AC)(A;CI;KR;;;BU)"

[BthLEEnum_EventLog_Inst]
AddReg=BthLEEnum_EventLog_Inst.AddReg, BthLEEnum_ETW.AddReg

[BthLEEnum_EventLog_Inst.AddReg]
HKR,,EventMessageFile,0x00020002,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\Drivers\BthLEEnum.sys"
HKR,,TypesSupported,0x00010003,7

[BthLEEnum_ETW.AddReg]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Bluetooth-BthLEEnum/Operational","OwningPublisher",0x0,"{eb492407-201e-4281-8531-cdfb141ca69f}"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Bluetooth-BthLEEnum/Operational","Enabled",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Bluetooth-BthLEEnum/Operational","Isolation",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Bluetooth-BthLEEnum/Operational","ChannelAccess",0x0,"O:BAG:SYD:(A;;0xf0007;;;SY)(A;;0x7;;;BA)(A;;0x3;;;BO)(A;;0x5;;;SO)(A;;0x1;;;IU)(A;;0x3;;;SU)(A;;0x1;;;S-1-5-3)(A;;0x2;;;S-1-5-33)(A;;0x1;;;S-1-5-32-573)"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Bluetooth-BthLEEnum/Operational","Type",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{eb492407-201e-4281-8531-cdfb141ca69f}",,0x0,"Microsoft-Windows-Bluetooth-BthLEEnum"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{eb492407-201e-4281-8531-cdfb141ca69f}","ResourceFileName",0x00020000,"%%SystemRoot%%\system32\drivers\bthLEEnum.sys"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{eb492407-201e-4281-8531-cdfb141ca69f}","MessageFileName",0x00020000,"%%SystemRoot%%\system32\drivers\bthLEEnum.sys"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{eb492407-201e-4281-8531-cdfb141ca69f}\ChannelReferences\0",,0x0,"Microsoft-Windows-Bluetooth-BthLEEnum/Operational"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{eb492407-201e-4281-8531-cdfb141ca69f}\ChannelReferences\0","Id",0x00010001,16
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{eb492407-201e-4281-8531-cdfb141ca69f}\ChannelReferences\0","Flags",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{eb492407-201e-4281-8531-cdfb141ca69f}\ChannelReferences\1",,0x0,"System"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{eb492407-201e-4281-8531-cdfb141ca69f}\ChannelReferences\1","Id",0x00010001,8
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{eb492407-201e-4281-8531-cdfb141ca69f}\ChannelReferences\1","Flags",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{eb492407-201e-4281-8531-cdfb141ca69f}\ChannelReferences",Count,0x00010001,2
HKLM,"SYSTEM\CurrentControlSet\Control\WMI\Autologger\EventLog-System\{eb492407-201e-4281-8531-cdfb141ca69f}",Enabled,0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Control\WMI\Autologger\EventLog-System\{eb492407-201e-4281-8531-cdfb141ca69f}",EnableLevel,0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Control\WMI\Autologger\EventLog-System\{eb492407-201e-4281-8531-cdfb141ca69f}",EnableProperty,0x00010001,0x00000001
HKLM,"SYSTEM\CurrentControlSet\Control\WMI\Autologger\EventLog-System\{eb492407-201e-4281-8531-cdfb141ca69f}",LoggerName,0x00000000,"EventLog-System"
HKLM,"SYSTEM\CurrentControlSet\Control\WMI\Autologger\EventLog-System\{eb492407-201e-4281-8531-cdfb141ca69f}",MatchAnyKeyword,0x000B0001,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0
HKLM,"SYSTEM\CurrentControlSet\Control\WMI\Autologger\EventLog-System\{eb492407-201e-4281-8531-cdfb141ca69f}",MatchAllKeyword,0x000B0001,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00

;----------------------------------------------------------------------------
; Generic ATT Service Support Section
;----------------------------------------------------------------------------
[AttGenericService.NT]
Include=umpass.inf
Needs=UmPass

[AttGenericService.NT.Services]
Include=umpass.inf
Needs=UmPass.Services

[AttGenericService.NT.HW]
Include=umpass.inf
Needs=UmPass.HW

[AttGenericService.NT.CoInstallers]
Include=umpass.inf
Needs=UmPass.CoInstallers

[AttGenericService.NT.Interfaces]
Include=umpass.inf
Needs=UmPass.Interfaces

[Strings]
;Non-localizable
REG_SZ=0x00000000
REG_DWORD=0x00010001
REG_BINARY=0x00000001

;
;Localizable
;
BthLEEnum.SVCDESC="Bluetooth Low Energy Driver"
Microsoft="Microsoft"

; ------------- Device Strings - start -------------------------
; Microsoft
BTH\MS_BTHLE.DeviceDesc="Microsoft Bluetooth LE Enumerator"
BTHLE\DevicePdo.DeviceDesc="Bluetooth LE Device"
BTHLEDevice\GenericATTService="Bluetooth LE Generic Attribute Service"
BTHLEDevice\{00001800-0000-1000-8000-00805f9b34fb}= "Generic Access Profile"
BTHLEDevice\{00001801-0000-1000-8000-00805f9b34fb}= "Generic Attribute Profile"
BTHLEDevice\{0000180A-0000-1000-8000-00805f9b34fb}= "Device Information Service"
BTHLEDevice\{00001813-0000-1000-8000-00805f9b34fb}= "Scan Parameter Service"
; ------------- Device Strings - end  --------------------------
