;-------------------------------------------------------------------------
;   Copyright (c) 2012, 2019-2020, 2022-2023 QUALCOMM Incorporated. All Rights Reserved
;
;   Module Name:
;       QCDiagBridge8280.inf
;
;   Abstract:
;       INF file for installing the Qualcomm Diag Bridge driver.
;-------------------------------------------------------------------------

[Version]
Signature   = "$Windows NT$"
Class       = System
ClassGuid   = {4d36e97d-e325-11ce-bfc1-08002be10318}
Provider    = %ManufacturerName%
CatalogFile = QCDiagBridge.cat
PnpLockDown = 1
DriverVer = 12/15/2025,1.0.4498.4500

[DestinationDirs]
DefaultDestDir = 13

[SourceDisksNames]
1 = %DiskName%

[SourceDisksFiles]
QCDiagBridge.sys = 1

[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%ManufacturerName% = Standard,NTARM64.10.0...16299


[Standard.NTARM64.10.0...16299]
%QCDiagBridge.DeviceDesc%=QCDiagBridge_Device_NoConfig, ACPI\QCOM06DE
%QCDiagBridge.DeviceDesc%=QCDiagBridge_Device, ACPI\VEN_QCOM&DEV_06DE&SUBSYS_MTP08180
%QCDiagBridge.DeviceDesc%=QCDiagBridge_Device, ACPI\VEN_QCOM&DEV_06DE&SUBSYS_CLS08180
%QCDiagBridge.DeviceDesc%=QCDiagBridge_Device, ACPI\VEN_QCOM&DEV_06DE&SUBSYS_CDPS8180
%QCDiagBridge.DeviceDesc%=QCDiagBridge_Device, ACPI\VEN_QCOM&DEV_06DE&SUBSYS_IDP07180
%QCDiagBridge.DeviceDesc%=QCDiagBridge_Device, ACPI\VEN_QCOM&DEV_06DE&SUBSYS_IDPS7180
%QCDiagBridge.DeviceDesc%=QCDiagBridge_Device, ACPI\VEN_QCOM&DEV_06DE&SUBSYS_CLS07180
%QCDiagBridge.DeviceDesc%=QCDiagBridge_Device, ACPI\VEN_QCOM&DEV_06DE&SUBSYS_AGN00000

[QCDiagBridge_Device_NoConfig.NT]
CopyFiles   = Drivers_Dir
AddProperty = WDTFSOCDeviceCategory

[QCDiagBridge_Device_NoConfig.NT.Services]
AddService = QCDiagBridge,%SPSVCINST_ASSOCSERVICE%, QCDiagBridge_Service_Inst

[QCDiagBridge_Device.NT]
CopyFiles   = Drivers_Dir
AddProperty = WDTFSOCDeviceCategory

[QCDiagBridge_Device.NT.HW]
AddReg = QCDiagBridge_HW_AddReg

[QCDiagBridge_Device.NT.Services]
AddService = QCDiagBridge,%SPSVCINST_ASSOCSERVICE%, QCDiagBridge_Service_Inst

[Drivers_Dir]
QCDiagBridge.sys

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

[QCDiagBridge_HW_AddReg]                            
HKR,,DeviceCharacteristics,%REG_DWORD%,0x00000100    ; FILE_DEVICE_SECURE_OPEN
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)"        ; Allow generic-all access to Local System and Built-in Administrators
HKR,,LocalPort,%REG_DWORD%,2500
; Flag to enable QShrink 4.0 feature
HKR,QSHR,"ENABLED",%REG_DWORD%, 0x0 ; 1 supported 0 not supported
HKR,,EventIDs,%REG_SZ%,""
HKR,,LogCodes,%REG_SZ%,""
HKR,,MessageLevels,%REG_SZ%,""
HKR,,QTraces,%REG_SZ%,""
;currently going with C:\Qualcomm\ for RS3
HKR,,"QcdbDstPath",%REG_SZ%,"%24%\Qualcomm\"


[QCDiagBridge_Service_Inst]
DisplayName     = %QCDiagBridge.SVCDESC%
ServiceType     = 1 ; SERVICE_KERNEL_DRIVER
StartType       = 3 ; SERVICE_DEMAND_START
ErrorControl    = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary   = %13%\QCDiagBridge.sys

[QCDiagBridge_Device.NT.Wdf]
KmdfService =  QCDiagBridge, QCDiagBridge_wdfsect

[QCDiagBridge_Device_NoConfig.NT.Wdf]
KmdfService =  QCDiagBridge, QCDiagBridge_wdfsect

[QCDiagBridge_wdfsect]
KmdfLibraryVersion = 1.33

[Strings]
;Localizable Strings
ManufacturerName        = "Qualcomm Incorporated"                                      
DiskName                = "Qualcomm Diagnostic Bridge Installation Disk"
QCDiagBridge.DeviceDesc = "Qualcomm(R) Diag Bridge Device"
QCDiagBridge.SVCDESC    = "Qualcomm(R) Diag Bridge Device"

;Non-localizable Strings
SPSVCINST_ASSOCSERVICE= 0x00000002
REG_SZ    = 0x00000000
REG_DWORD = 0x00010001

