;/*++ ; ;Copyright (c) 2008 Microsoft Corporation All rights Reserved ; ;Module Name: ; ; BthMtpEnum.INF ; ;Abstract: ; INF file for installing MTP Bluetooth bus enumerator driver ;--*/ [Version] Signature="$WINDOWS NT$" Class=Bluetooth CLASSGUID={e0cbf06c-cd8b-4647-bb8a-263b43f0f974} Provider=%MSFT% DriverVer=06/21/2006,6.3.9600.16384 PnpLockdown=1 [SourceDisksNames] 3426=windows cd [SourceDisksFiles] BthMtpEnum.sys = 3426 [ControlFlags] BasicDriverOk=* [DestinationDirs] DefaultDestDir = 12 [Manufacturer] %MfgName%=Microsoft, NTamd64 [Microsoft.NTamd64] %BthMtpEnum.DeviceDesc%=BthMtpEnum, BTHENUM\{b1673f75-a798-4ed8-a662-b4f4d3286ea9} %BthMtpResp.DeviceDesc%=NullDrv, BTHENUM\{9518e5ca-f6af-464b-9907-a97433641968} [BthMtpEnum.NT] CopyFiles=BthMtpEnum.CopyFiles AddProperty= BthMtpEnum.IsMTPLinkConnected [BthMtpEnum.IsMTPLinkConnected] ;;DEVPKEY_MTPBTH_IsConnected, DEVPROP_TYPE_BOOLEAN %MTPBtDevicePropertyCategoryId%,2,%DEVPROP_TYPE_BOOLEAN%,,0 [BthMtpEnum.NT.HW] AddReg=BthMtpEnum.NT.AddReg [BthMtpEnum.NT.AddReg] ;; FILE_DEVICE_SECURE HKR,,DeviceCharacteristics,0x10001,0x0100 ; Use same security checks on relative opens ; SDDL_DEVOBJ_SYS_ALL_ADM_RWX_WORLD_RWX_RES_RWX HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GRGWGX;;;BA)(A;;GRGWGX;;;WD)(A;;GRGWGX;;;RC)" [BthMtpEnum.CopyFiles] BthMtpEnum.sys,,,0x100 ;-------------- Service installation [BthMtpEnum.NT.Services] AddService = BthMtpEnum,%SPSVCINST_ASSOCSERVICE%, BthMtpEnum_Service_Inst ; -------------- dynambus driver install sections [BthMtpEnum_Service_Inst] DisplayName = %BthMtpEnum.SVCDESC% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %12%\BthMtpEnum.sys ; ------------ Install NULL Driver for Bluetooth MTP Responder service -------- [NullDrv] ; Intentionally empty [NullDrv.Services] AddService = ,%SPSVCINST_ASSOCSERVICE% ; no value for the service name [Strings] ;Non-Localizable SPSVCINST_ASSOCSERVICE= 0x00000002 MSFT = "Microsoft" MTPBtDevicePropertyCategoryId = "{637c490d-eee3-4c0a-973f-371958802da2}" DEVPROP_TYPE_BOOLEAN = 0x11 ;Localizable MfgName = "Microsoft" BthMtpEnum.DeviceDesc = "Bluetooth MTP Device Enumerator" BthMtpEnum.SVCDESC = "Bluetooth MTP Device Enumerator" ; Instead of appearing as an "Unknow device", a "Null driver" is installed for MTP Bluetooth Responder. ; It is a stub and non-function driver. It can be driver updated. BthMtpResp.DeviceDesc = "Bluetooth MTP Responder Service (Null driver)"