;
; NxpNfpProvider.inf
;

[Version]
Signature="$WINDOWS NT$"
Class=Proximity

ClassGuid={5630831C-06C9-4856-B327-F5D32586E060}
Provider=%NXP%
CopyRight=%NXP%
CatalogFile=nxpnfpprovider.cat
DriverVer=12/18/2012,1.4.5.0

[Manufacturer]
%NXPWUDF%=Standard,NTX86,NTAMD64

[Standard.NTX86]
%NxpNfpProviderName%=NxpNfpProvider_Install,ACPI\NXP5330

[Standard.NTAMD64]
%NxpNfpProviderName%=NxpNfpProvider_Install,ACPI\NXP5330

[SourceDisksFiles]
NxpNfpProvider.dll=1

[SourceDisksNames]
1 = %MediaDescription%

; =================== WUDF NxpNfpProvider Test Driver ==================================

[NxpNfpProvider_Install]
CopyFiles=UMDFDriverCopy

[NxpNfpProvider_Install.hw]
AddReg=NxpNfpProvider_AddReg

[NxpNfpProvider_Install.Interfaces]
AddInterface={FB3842CD-9E2A-4F83-8FCC-4B0761139AE9}, , NxpNfpProvider_AddInterface

[NxpNfpProvider_Install.Services]
AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall

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


[NxpNfpProvider_Install.CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WUDFCoinstaller.dll"



[CoInstallers_CopyFiles]
;WudfUpdate_$UMDFCOINSTALLERVERSION$.dll

[NxpNfpProvider_Install.Wdf]
UmdfService=NxpNfpProvider, NxpNfpProvider_Driver_Install
UmdfServiceOrder=NxpNfpProvider
UmdfDispatcher=FileHandle

[NxpNfpProvider_AddReg]
HKR,"NxpNfpProvider", "NfcRadioState",		0x00010001, 0
HKR,"NxpNfpProvider", "LLCPConfigParams",   0x00000001, 00,04,64,5
HKR,"NxpNfpProvider", "PollDevInfo",		0x00010001, 0x40FF

HKLM,SOFTWARE\Classes\CLSID\{BA0CCA99-A7A1-415C-9E5B-25C0A99DDBC3}                          ,              ,0x00000000,"NfcRadioManager"
HKLM,SOFTWARE\Classes\CLSID\{BA0CCA99-A7A1-415C-9E5B-25C0A99DDBC3}\InProcServer32           ,              ,0x00000000,"%%SystemRoot%%\system32\NxpNfcRM.dll"
HKLM,SOFTWARE\Classes\CLSID\{BA0CCA99-A7A1-415C-9E5B-25C0A99DDBC3}\InprocServer32           ,ThreadingModel,          ,Both
HKLM,SYSTEM\CurrentControlSet\Control\RadioManagement\{BA0CCA99-A7A1-415C-9E5B-25C0A99DDBC3},              ,0x00000000,"NfcRadioManager"
HKLM,SYSTEM\CurrentControlSet\Control\RadioManagement\{BA0CCA99-A7A1-415C-9E5B-25C0A99DDBC3},"NfcRadioManager",0x00000000,"%%SystemRoot%%\system32\NxpNfcRM.dll"

HKLM,"SYSTEM\CurrentControlSet\Control\RadioManagement\Misc\NfcRadioManager\NfcRadio1","RadioState",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Control\RadioManagement\Misc\NfcRadioManager\NfcRadio1","Name",,"NFC"
HKLM,"SYSTEM\CurrentControlSet\Control\RadioManagement\Misc\NfcRadioManager\NfcRadio1","IsMultiComm",0x00010001,0

[NxpNfpProvider_AddInterface]
AddProperty=NxpNfpProvider_AddInterface_AddProperty

[NxpNfpProvider_AddInterface_AddProperty]
{FB3842CD-9E2A-4F83-8FCC-4B0761139AE9}, 2, 0x2012, , "StandardNfc"

[WUDFRD_ServiceInstall]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\WUDFRd.sys

[NxpNfpProvider_Driver_Install]
UmdfLibraryVersion=1.0.0
DriverCLSID="{278F44F0-FF5C-4FE3-BF20-F8AA158EA7BC}"
ServiceBinary="%12%\UMDF\NxpNfpProvider.dll"

[DestinationDirs]
UMDFDriverCopy=12,UMDF


[UMDFDriverCopy]
NxpNfpProvider.dll

[RMComServer.CopyFiles]
NxpNfcRM.dll

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

[Strings]
NXP="NXP Semiconductors"
NXPWUDF="NXP Semiconductors(Proximity)"
MediaDescription="NXP NearField Proximity Provider Installation Media"
ClassName="Proximity Devices"
NxpNfpProviderName="NXP NearFieldProximity Provider"


