;-------------------------------------------------------------------------------
; Novatel Wireless Location Sensor USB Serial Port
; Module Name -- nwdelgobi3kLocation.inf 
; Copyright (c) 2010 Novatel Wireless Inc.
;-------------------------------------------------------------------------------

;-------------------------------------------------------------------------------
; INF Version Section
;-------------------------------------------------------------------------------
 
[Version]
Signature   = "$Windows NT$"
Class       = Ports
ClassGuid   = {4D36E978-E325-11CE-BFC1-08002BE10318}
Provider    = %NW%
CatalogFile.NT = nwdelgobi3klocation.cat
CatalogFile.NTAMD64 = nwdelgobi3klocationx64.cat
DriverVer   = 09/22/2011,1.0.0.2

;-------------------------------------------------------------------------------
; INF Manufactuerer Section
;-------------------------------------------------------------------------------

[Manufacturer]
%NW% = Models, NTamd64

;-------------------------------------------------------------------------------
; INF Models Section
;-------------------------------------------------------------------------------

[Models]
%NWGobi3kLocation.DeviceDesc% = Novatel.Gobi3kLocation_Install, USB\VID_413C&PID_8194&MI_03

[Models.NTamd64]
%NWGobi3kLocation.DeviceDesc% = Novatel.Gobi3kLocation_Install64, USB\VID_413C&PID_8194&MI_03


[SourceDisksNames]
1 = %MediaDescription%

[SourceDisksFiles]
nwdelgobi3klocation.dll = 1,,
LocationHelper.dll      = 1,,
nwdelgobi3klocationx64.dll = 1,,
LocationHelperx64.dll      = 1,,


;-------------------------------------------------------------------------------
; INF DDInstall Section
;-------------------------------------------------------------------------------

[Novatel.Gobi3kLocation_Install]
CopyFiles       = UMDriverCopy
AddReg          = All00, NWAddReg, DevFunction1  
FeatureScore    = 0x20

[Novatel.Gobi3kLocation_Install64]
CopyFiles       = UMDriverCopy.AMD64
AddReg          = All00, NWAddReg, DevFunction1  
FeatureScore    = 0x20

  
[Novatel.Gobi3kLocation_Install.hw]
AddReg          = UpperFilterAddReg

[Novatel.Gobi3kLocation_Install64.hw]
AddReg          = UpperFilterAddReg

[UpperFilterAddReg]
HKR,,"UpperFilters",0x00010000,"WUDFRd"


[Novatel.Gobi3kLocation_Install.Services]
AddService      = nwdelserial,  0x00000002, Novatel_USBSerialService
AddService      = WUDFRd,,WUDFRD_ServiceInstall

[Novatel.Gobi3kLocation_Install64.Services]
AddService      = nwdelserial,  0x00000002, Novatel_USBSerialService
AddService      = WUDFRd,,WUDFRD_ServiceInstall

[Novatel.Gobi3kLocation_Install.CoInstallers]
AddReg=WUDF_CoInstallers_AddReg
CopyFiles=WUDF_CoInstallers_CopyFiles

[Novatel.Gobi3kLocation_Install64.CoInstallers]
AddReg=WUDF_CoInstallers_AddReg
CopyFiles=WUDF_CoInstallers_CopyFiles.NTAMD64


[Novatel.Gobi3kLocation_Install.Wdf]
UmdfService                = NWDelGobi3kLocation,UMDFNWGobi3kLocation_Install
UmdfServiceOrder           = NWDelGobi3kLocation
UmdfImpersonationLevel     = Impersonation
UmdfKernelModeClientPolicy = AllowKernelModeClients

[Novatel.Gobi3kLocation_Install64.Wdf]
UmdfService                = NWDelGobi3kLocation,UMDFNWGobi3kLocation_Install64
UmdfServiceOrder           = NWDelGobi3kLocation
UmdfImpersonationLevel     = Impersonation
UmdfKernelModeClientPolicy = AllowKernelModeClients


[Novatel_USBSerialService]
DisplayName   = %NWUSBSER%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\nwdelserial.sys


[All00]
HKR,,NTMPDriver,,nwdelserial.sys


[DevFunction1]
HKR,,QCDeviceFunction,0x00010001,1

[NWAddReg]
HKR,,PortSubClass,1,01
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"



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

[UMDFNWGobi3kLocation_Install]
UmdfLibraryVersion      = 1.9.0
ServiceBinary           = %12%\UMDF\nwdelgobi3klocation.dll
DriverCLSID             = {3D675F8A-8657-4918-8EF7-16C14859ECE6}

[UMDFNWGobi3kLocation_Install64]
UmdfLibraryVersion      = 1.9.0
ServiceBinary           = %12%\UMDF\nwdelgobi3klocation.dll
DriverCLSID             = {3D675F8A-8657-4918-8EF7-16C14859ECE6}


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


[WUDF_CoInstallers_CopyFiles]
WudfUpdate_01009.dll


[WUDF_CoInstallers_CopyFiles.NTAMD64]
WudfUpdate_01009.dll,WudfUpdate_01009x64.dll,,0x20


[SourceDisksFiles]
WudfUpdate_01009.dll=1 ; make sure the number matches with SourceDisksNames
WudfUpdate_01009x64.dll=1 ; make sure the number matches with SourceDisksNames

[WUDF_CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WUDFUpdate_01009.dll"



[DestinationDirs]
UMDriverCopy                 = 12,UMDF
UMDriverCopy.AMD64	     = 12,UMDF
WUDF_CoInstallers_CopyFiles  = 11
WUDF_CoInstallers_CopyFiles.NTAMD64 = 11

[UMDriverCopy]
nwdelgobi3klocation.dll,,,0x20
LocationHelper.dll,,,0x20


[UMDriverCopy.AMD64]
nwdelgobi3klocation.dll,nwdelgobi3klocationx64.dll,,0x20
LocationHelper.dll,LocationHelperx64.dll,,0x20



;-------------------------------------------------------------------------------
; INF Strings Section
;-------------------------------------------------------------------------------
[Strings]
NW               = "Novatel Wireless Inc"
MediaDescription = "Novatel Wireless Installation Media"
ClassName        = "Dell Wireless Gobi 3000 Location Sensor Driver"
WudfRdDisplayName= "Windows Driver Foundation - User-mode Driver Framework Reflector"
NWGobi3kLocation.DeviceDesc= ""Dell Wireless 5630 (EVDO-HSPA) Mobile Broadband Mini-Card (Composite WWAN Device) GPS Port""
NWUSBSER         = "Dell Wireless Gobi 3000 USB Device for Legacy Serial Communication"





