;
; qcqmuxusb.inf
;

[Version]
Signature="$Windows NT$"
Class=SYSTEM
ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
Provider=%ManufacturerName%
CatalogFile=qcqmuxusb.cat
DriverVer=10/08/2017,23.54.18.231

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


[Standard.NTamd64]
%DeviceName%=MyDevice_Install, ACPI\MSHW0143 ; TODO: edit hw-id

[Standard.NTx86]
%DeviceName%=MyDevice_Install, ACPI\MSHW0143 ; TODO: edit hw-id


;[ClassInstall32]
;AddReg=SampleClass_RegistryAdd

;[SampleClass_RegistryAdd]
;HKR,,,,%ClassName%
;HKR,,Icon,,"-10"

[SourceDisksFiles]
qcqmuxusb.dll=1

[SourceDisksNames]
1 = %DiskName%

; =================== UMDF Device ==================================

[MyDevice_Install.NT]
CopyFiles=UMDriverCopy

[MyDevice_Install.NT.hw]

[MyDevice_Install.NT.Services]
AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall

[MyDevice_Install.NT.CoInstallers]
AddReg=CoInstallers_AddReg

[MyDevice_Install.NT.Wdf]
;UmdfDispatcher=NativeUSB
UmdfDispatcher=WinUsb
UmdfService=qcqmuxusb,qcqmuxusb_Install
UmdfServiceOrder=qcqmuxusb
UmdfKernelModeClientPolicy  = AllowKernelModeClients
UmdfFileObjectPolicy        = AllowNullAndUnknownFileObjects
UmdfMethodNeitherAction = Copy


[qcqmuxusb_Install]
UmdfLibraryVersion=2.15.0 
ServiceBinary=%12%\UMDF\qcqmuxusb.dll

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

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

[DestinationDirs]
UMDriverCopy=12,UMDF ; copy to drivers\umdf

[UMDriverCopy]
qcqmuxusb.dll

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

[Strings]
ManufacturerName="Qualcomm Incorporated." 
ClassName="QmuxUsb" ; TODO: edit ClassName
DiskName = "QmuxUsb Installation Disk"
WudfRdDisplayName="QmuxUsb Device"
DeviceName="Surface GPS USB Multiplexer"

