;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; File:        qcgnss.inf
;  
; Description: INF file for installing the Qualcomm GPS qcgnss Driver
;    
; Copyright (c) 2017 by Qualcomm Technologies, Inc. All Rights Reserved.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Version]
Signature="$Windows NT$"
CatalogFile=qcgnss.cat
;Class=Sensor
;ClassGuid={5175d334-c371-4806-b3ba-71fd53c9258d}
Class=SYSTEM
ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
Provider=%ManufacturerName%
DriverVer = 01/09/2019,1.0.1.7
; QCM patch on CR 2376384

[qcgnss_AddReg]
HKR,,DeviceCharacteristics,0x10001,0x100                 ;Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)(A;;GA;;;LS)" ;Allow generic all access to system, built-in Admin, and Local System.

[DestinationDirs]
DefaultDestDir = 12,UMDF
CoInstallers_CopyFiles=11
QCCIUM.CopyFiles = 11

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

[SourceDisksFiles]
qcgnss.dll=1,,

[Manufacturer]
%ManufacturerName%=qcgnss_Device,NTx86,NTamd64

;*******************************
; qcgnss Install Section
;*******************************

[qcgnss_Device.NTamd64]
%DevDesc% = qcgnss_Inst, {7DCB3244-C836-4A0C-A1E9-BD68D385AA2B}\VID_413C_PID_81D7_QCGNSS

[qcgnss_Device.NTx86]
%DevDesc% = qcgnss_Inst, {7DCB3244-C836-4A0C-A1E9-BD68D385AA2B}\VID_413C_PID_81D7_QCGNSS
; =================== UMDF  Device ==================================

[qcgnss_Inst.NT]
CopyFiles=qcgnssCopy
AddReg= qcgnss_AddReg

[qcgnssCopy]
qcgnss.dll

;-------------- Service installation
[qcgnss_Inst.NT.Services]
AddService = WUDFRd,0x000001fa,WUDFRD_ServiceInstall ; flag 0x2 sets this as the service for the device

[WUDFRD_ServiceInstall]
DisplayName   = %WudfRdDisplayName%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\WUDFRd.sys

;-------------- WDF specific section

[qcgnss_Inst.NT.Wdf]
UmdfService              = qcgnss, qcgnss_Install
UmdfServiceOrder         = qcgnss
;UmdfHostProcessSharing = ProcessSharingDisabled

[qcgnss_Install]
UmdfLibraryVersion=2.15.0
ServiceBinary="%12%\UMDF\qcgnss.dll"

; =================== QCGNSS Specific  ==================================



; =================== Generic ==================================
[Strings]
MediaDescription         = "Dell qcgnss Collection Installation Media"
ManufacturerName         = "Dell"
DevDesc                  = "DW5821e Location Sensor"
WudfRdDisplayName        = "Windows Driver Foundation - User-mode Driver Framework Reflector"
ClassName="Dell Gnss Device"

SERVICE_KERNEL_DRIVER    = 1
SERVICE_DEMAND_START     = 3
SERVICE_ERROR_NORMAL     = 1

