;
; Broadcom NFC driver
;
; Copyright (c) 2012 Broadcom Corporation
;

[Version]
Signature="$WINDOWS NT$"
Class=Proximity
ClassGuid={5630831C-06C9-4856-B327-F5D32586E060}
Provider=%BRCM%
CatalogFile=bcmnfcser-x86.cat
DriverVer=11/20/2012,1.0.0.3900

[Manufacturer]
%BRCMWUDF%=Broadcom,NTx86

[Broadcom.NTx86]
%bcmnfcser.DeviceDesc%=bcmnfcser_Install, BCMNFCIC\NFC_PROVIDER     ; NFC on I2C transport
;%bcmnfcser.DeviceDesc%=bcmnfcser_Install, WUDF\bcmnfcser            ; NFC on serial transport

[SourceDisksFiles]
bcmnfcser.dll=1
BCM20791B2_002.003.022.0005.0000.hcd=1
BcmNfcRM.dll=1
;WudfUpdate_$UMDFCOINSTALLERVERSION$.dll=1


[SourceDisksNames]
1 = %MediaDescription%

[bcmnfcser_Install]
CopyFiles=UMDFDriverCopy
CopyFiles=RadioMgrCopy
AddReg=bcmnfcser_RadioManagerInstall.AddReg

[bcmnfcser_Install.hw]
AddReg=bcmnfcser_Install.AddReg

[bcmnfcser_Install.Services]
AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall,EventLog_Inst

[bcmnfcser_Install.CoInstallers]
AddReg = bcmnfcser_Install.CoInstallers_AddReg
CopyFiles = CoInstallers_CopyFiles

[bcmnfcser_Install.CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WudfCoinstaller.dll"

[CoInstallers_CopyFiles]
;WudfUpdate_$UMDFCOINSTALLERVERSION$.dll

[bcmnfcser_Install.Wdf]
UmdfService=bcmnfcser, bcmnfcser_Driver_Install
UmdfServiceOrder=bcmnfcser
UmdfDispatcher=FileHandle
UmdfImpersonationLevel=Impersonation

[bcmnfcser_Install.AddReg]
HKR,"bcmnfcser","Server",0x00010001,1
HKR,"bcmnfcser","PatchFileName",0x00000000,"BCM20791B2_002.003.022.0005.0000.hcd"
HKR,"bcmnfcser","NfccType",0x00010001,2
HKR,"bcmnfcser","SeType",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Control\RadioManagement\{518E0A72-CFB4-4B4F-A892-9FF576B17DBD}",,0x00000000,%NfcRadio%
HKLM,"SYSTEM\CurrentControlSet\Control\RadioManagement\{518E0A72-CFB4-4B4F-A892-9FF576B17DBD}","Trace",0x00010001,0

[bcmnfcser_RadioManagerInstall.AddReg]
HKCR,"CLSID\{518E0A72-CFB4-4B4F-A892-9FF576B17DBD}",,0x00000000,%NfcSerialRadioManager%
HKCR,"CLSID\{518E0A72-CFB4-4B4F-A892-9FF576B17DBD}\InProcServer32",,0x00020000,"%SystemRoot%\system32\BcmNfcRM.dll"
HKCR,"CLSID\{518E0A72-CFB4-4B4F-A892-9FF576B17DBD}\InProcServer32","ThreadingModel",0x00000000,"Both"

[WUDFRD_ServiceInstall]
DisplayName="Windows Driver Foundation - User-mode Driver Framework Reflector"
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\WUDFRd.sys

[EventLog_Inst]
AddReg = EventLog_Inst.reg

[EventLog_Inst.reg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\drivers\UMDF\BcmNfcSer.dll"
HKR,,TypesSupported,0x00010001,7

[bcmnfcser_Driver_Install]
UmdfLibraryVersion=1.11.0
DriverCLSID="{278F44F0-FF5C-4FE3-BF20-F8AA158EA7BC}"
ServiceBinary=%12%\UMDF\bcmnfcser.dll

[DestinationDirs]
UMDFDriverCopy=12,UMDF
RadioMgrCopy=11
CoInstallers_CopyFiles=11

[UMDFDriverCopy]
bcmnfcser.dll
BCM20791B2_002.003.022.0005.0000.hcd

[RadioMgrCopy]
BcmNfcRM.dll

; =================== Generic ==================================

[Strings]
BRCM="Broadcom"
BRCMWUDF="Broadcom Internal (Proximity)"
MediaDescription="Broadcom NFC Proximity Provider Installation Media"
bcmnfcser.DeviceDesc="NFC Proximity Provider"
NfcRadio="NFC"
NfcSerialRadioManager="NFC Serial Radio Manager"

[Strings.0419] ; Russian
BRCM="Broadcom"
BRCMWUDF="Broadcom Internal (Proximity)"
MediaDescription="Broadcom NFC Proximity Provider Installation Media"
bcmnfcser.DeviceDesc="NFC Proximity Provider"
NfcRadio="NFC"
NfcSerialRadioManager="NFC Serial Radio Manager"
