;
; Broadcom BT UHE serial driver
;
[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%BRCM%
DriverVer=08/19/2016,12.0.1.990
CatalogFile=uheserialbus-x64.cat

[DestinationDirs]
DefaultDestDir = 12
;Basic_CoInstaller_CopyFiles = 11

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

[SourceDisksFiles]
UheSerialBus.sys  = 1,,
;WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll = 1,,

[ControlFlags]
; ExcludeFromSelect=*

[Manufacturer]
%StdMfg%=VendorModels,NTamd64

[VendorModels.NTamd64]
%Bus.DeviceDesc%=Basic,    ACPI\BCM2E7C

;*****************************************
[Basic.NT.AddReg]
HKR,,DeviceCharacteristics,0x10001,0x0100      ; Use same security checks on relative opens
; HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"   ; Allow generic-all access to Built-in administrators and Local system 
; HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;WD)"
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;LS)" ; Allow GA access to Admin, system, and Local Service
HKR,,"StartupTrace",0x10001, 0
HKR,,"BaudRateDefault",0x10001, 3000000
HKR,,"BT_WAKE",0x10001, 0
HKR,,"BT_RST_N",0x10001, 1
HKR,,"BT_SHUTDOWN_N",0x10001, 1

[Basic.NT]
CopyFiles=Basic.CopyFiles

[Basic.CopyFiles]
UheSerialBus.sys

[Basic.NT.HW]
AddReg=Basic.NT.AddReg

[Basic.NT.Services]
AddService = UheSerialBus,%SPSVCINST_ASSOCSERVICE%, Bus_Service_Inst, Bus_EventLog_Inst

[Bus_Service_Inst]
DisplayName    = %Bus.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\UheSerialBus.sys

[Bus_EventLog_Inst]
AddReg = Bus_EventLog_Inst.reg

[Bus_EventLog_Inst.reg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\UheSerialBus.sys"
HKR,,TypesSupported,0x00010001,7

; WDF Coinstaller installation
;[Basic.NT.CoInstallers]
;AddReg=Basic_CoInstaller_AddReg
;CopyFiles=Basic_CoInstaller_CopyFiles

;[Basic_CoInstaller_AddReg]
;HKR,,CoInstallers32,0x00010000, "WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll,WdfCoInstaller"

;[Basic_CoInstaller_CopyFiles]
;WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll

[Basic.NT.Wdf]
KmdfService = UheSerialBus, Basic_wdfsect

[Basic_wdfsect]
KmdfLibraryVersion = 1.11


[Strings]
;Non-Localizable

SPSVCINST_ASSOCSERVICE= 0x00000002

;Localizable
BRCM = "Broadcom"
StdMfg = "(Standard system devices)"
DiskId1 = "Broadcom Installation Disk #1"
Bus.DeviceDesc = "Broadcom UHE Serial Bus Driver"
Bus.SVCDESC = "Broadcom UHE Serial Bus Driver"
