; SWLOCRM.inf
; Copyright (C) 2012 Sierra Wireless Incorporated
; Manufacturer: Sierra Wireless Incorporated

[Version]
Signature   = "$Windows NT$"
Class       = Sensor
ClassGuid   = {5175D334-C371-4806-B3BA-71FD53C9258D}
Provider    = %SW%
CatalogFile = SWLOCRM.cat
DriverVer   = 11/27/2012,1.0.1030.4
PnPLockdown = 1

; =================== Manufacturer/Models sections =======================

[Manufacturer]
%SW% = QCOM, NTx86.6.2, NTamd64.6.2

[QCOM.NTx86.6.2]
%SWLOCRM.DeviceDesc% = SWLOCRM_Install, Sensors\SWLOCRM

[QCOM.NTamd64.6.2]
%SWLOCRM.DeviceDesc% = SWLOCRM_Install, Sensors\SWLOCRM

; =================== Location Sensor Device ==================================

[SWLOCRM_Install]
CopyFiles       = UMDriverCopy
FeatureScore    = 0x20  
AddProperty     = DriverPropertiesSection
AddProperty     = WDTFSOCDeviceCategory
Reboot

[SWLOCRM_Install.hw]
AddReg          = Sensor_AddReg

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

[SWLOCRM_Install.CoInstallers]
CopyFiles       = WUDF_CoInstallers_CopyFiles
AddReg          = WUDF_CoInstallers_AddReg

[SWLOCRM_Install.Wdf]
UmdfService                = SWLOCRM,UMDFSWLOCRM_Install
UmdfServiceOrder           = SWLOCRM
UmdfImpersonationLevel     = Impersonation

[WDTFSOCDeviceCategory]
{5D078032-6378-437B-8DA5-9B32B7CA3FDD},2,7,,0

; =================== UMDF Service Install section ===================

[UMDFSWLOCRM_Install]
UmdfLibraryVersion      = 1.9.0
ServiceBinary           = %12%\UMDF\SWLOCRM.dll
DriverCLSID             = {F54370BB-4118-4F52-92F0-1185D7615D76}

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


[SourceDisksNames]
1 = %MediaDescription%,"",,\sys\x86
2 = %MediaDescription%,"",,\sys\amd64

[SourceDisksFiles.x86]
SWLOCRM.dll      = 1

[SourceDisksFiles.amd64]
SWLOCRM.dll      = 2

[WUDF_CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WUDFCoInstaller.dll"
HKCR,CLSID\{7F8E0E96-AC13-40FD-BBDC-03A6F7B0D256},,0x00000000,"Sierra Wireless Radio Manager"
HKCR,CLSID\{7F8E0E96-AC13-40FD-BBDC-03A6F7B0D256}\InProcServer32,,0x00020000,"%%SystemRoot%%\System32\Drivers\UMDF\SWLOCRM.dll"
HKCR,CLSID\{7F8E0E96-AC13-40FD-BBDC-03A6F7B0D256}\InProcServer32,ThreadingModel,0x00000000,"Both"
HKLM,SYSTEM\CurrentControlSet\Control\RadioManagement\{7F8E0E96-AC13-40FD-BBDC-03A6F7B0D256},,0x00000000,"Sierra Wireless Radio Manager"
[Sensor_AddReg]
HKR,,XTRAServerURL,,"xtra1.gpsonextra.net;xtra2.gpsonextra.net;xtra3.gpsonextra.net"
HKR,,SUPLconfig,,"0"

[WUDF_CoInstallers_CopyFiles]
; WUDFCoInstaller.dll comes with Windows

[DestinationDirs]
UMDriverCopy                 = 12,UMDF
WUDF_CoInstallers_CopyFiles  = 11

[UMDriverCopy]
SWLOCRM.dll

; =================== Driver Property section ===================

[DriverPropertiesSection]
DeviceIcon,,,,"%SystemRoot%\system32\sensorscpl.dll,-1000"

; =================== Generic ==================================
[Strings]
SW                              = "Sierra Wireless Incorporated"
MediaDescription                = "Sierra Wireless Location Sensor Installation Media"
ClassName                       = "Sierra Wireless Location Sensor"
WudfRdDisplayName               = "Windows Driver Foundation - User-mode Driver Framework Reflector"
SWLOCRM.DeviceDesc              = "Sierra Wireless Location Sensor"
