; File Name: bthhfenum.inf ; Install information file for Bluetooth HS/HF Enumerator ; ; Copyright (c) Microsoft Corporation. All Right Reserved ; [Version] Signature="$Windows NT$" ;all windows os Class=SYSTEM ClassGUID={4D36E97D-E325-11CE-BFC1-08002BE10318} Provider=%Manu% DriverVer=04/27/2018,10.0.14393.2273 [Manufacturer] %Manu%=Microsoft,NTamd64...1 [Microsoft.NTamd64...1] %BthHfEnum.DeviceDesc%=BthHfEnum,BTHENUM\{0000111E-0000-1000-8000-00805F9B34FB} ; Handsfree Service %BthHfEnum.DeviceDesc%=BthHfEnum,BTHENUM\{0000111E-0000-1000-8000-00805F9B34FB}_LOCALMFG&000a ; Handsfree Service (CSR) %BthHfEnum.DeviceDesc%=BthHfEnum,BTHENUM\{0000111E-0000-1000-8000-00805F9B34FB}_HCIBYPASS ; Handsfree Service on an HCI bypass controller [DestinationDirs] BthHfEnum.CopyFiles = 12 ; windows\system32\drivers BthHFSrv.CopyFIles = 11 ; windows\system32 [SourceDisksNames] 3426=windows cd [SourceDisksFiles] BthHfEnum.sys = 3426 BthHFSrv.dll = 3426 ;************************************************************** ; BthHfEnum ;************************************************************** [BthHfEnum.NT] CopyFiles=BthHfEnum.CopyFiles,BthHFSrv.CopyFiles [BthHfEnum.NT.HW] AddReg=BthHfEnum.NT.AddReg [BthHfEnum.CopyFiles] bthhfenum.sys,,,0x100 [BthHFSrv.CopyFiles] BthHFSrv.dll,,,0x140 [BthHfEnum.NT.AddReg] HKR,,DeviceCharacteristics,0x10001,0x0100 ; Use same security checks on relative opens HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGWGX;;;LS)" ; Allow generic-all access to built-in administrators and local system, generic rwx access for local service [BthHfEnum.NT.Services] AddService = BthHFEnum,0x00000002, BthHfEnum_Service_Inst AddService = BthHFSrv,0x00000800, BthHFSrv_Service_Inst [BthHfEnum_Service_Inst] DisplayName = %BthHFEnum.SVCDESC% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %12%\bthhfenum.sys LoadOrderGroup = Extended Base [BthHFSrv_Service_Inst] DisplayName = "@%%SystemRoot%%\System32\BthHFSrv.dll,-103" Description = "@%%SystemRoot%%\System32\BthHFSrv.dll,-102" ServiceType = 0x00000020 ; SERVICE_WIN32_SHARE_PROCESS StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %11%\svchost.exe -k LocalServiceAndNoImpersonation StartName = "NT AUTHORITY\LocalService" AddReg = BthHFSrv.AddReg Dependencies = "bthserv" RequiredPrivileges ="SeChangeNotifyPrivilege" [BthHFSrv.AddReg] ; Trigger start on bthhfenum device interface class {BD41DF2D-ADDD-4fc9-A194-B9881D2A2EFA} HKR,TriggerInfo\0,Type,0x00010001,0x01 HKR,TriggerInfo\0,Action,0x00010001,0x01 HKR,TriggerInfo\0,Guid,0x00000001,2D,DF,41,BD,DD,AD,C9,4F,A1,94,B9,88,1D,2A,2E,FA HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost, bthaudiosvc, 0x00010000, "BthHFSrv" HKR,Parameters,ServiceDll,0x00020000,"%%SystemRoot%%\System32\BthHFSrv.dll" HKR,Parameters,ServiceDllUnloadOnStop,0x00010001,0x01 HKR,,ServiceSidType,0x00010001,0x01 HKR,,FailureActions,0x00030003,84,03,00,00,00,00,00,00,00,00,00,00,03,00,00,00,61,00,70,00,01,00,00,00,c0,d4,01,00,01,00,00,00,e0,93,04,00,00,00,00,00,00,00,00,00 HKR,,RequiredPrivileges,0x00010008,"SeChangeNotifyPrivilege" HKCR,AppID\%BTHHFSRV_APPID_GUID% HKCR,AppID\%BTHHFSRV_APPID_GUID%,"LocalService",,"BthHFSrv" HKCR,CLSID\%BTHHFSRV_DEVICETYPE_GUID% HKCR,CLSID\%BTHHFSRV_DEVICETYPE_GUID%,"AppID",,%BTHHFSRV_APPID_GUID% ; ---- String Section [Strings] ;Non-Localizable BTHHFSRV_APPID_GUID = "{2F76FDA4-6EA4-49E3-991B-E637A144480A}" BTHHFSRV_DEVICETYPE_GUID = "{C7386F3F-B5EB-4AF4-B261-5DCA3BEEF7B1}" ;Localizable (but due to trademark, do not localize "Bluetooth" Manu = "Microsoft" BthHfEnum.DeviceDesc = "Bluetooth Hands-Free Audio and Call Control HID Enumerator" BthHFEnum.SVCDESC = "Bluetooth Hands-Free Audio and Call Control HID Enumerator"