;
; DisplayProxy10.inf
;

[Version]
Signature="$Windows NT$"
ClassGUID = {36fc9e60-c465-11cf-8056-444553540000}
Class = USB
ClassVer = 2.0
Provider=%ManufacturerName%
CatalogFile=DisplayProxy10.cat
DriverVer=07/07/2019,12.11.36.742

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

[Standard.NTamd64]
%DeviceName%=MyDevice_Install, hid\vid_1b36&pid_0d11 ; TODO: edit hw-id

[Standard.NTx86]
%DeviceName%=MyDevice_Install, hid\vid_1b36&pid_0d11 ; TODO: edit hw-id

[SourceDisksFiles.x86]
DisplayProxy10.dll=1,x86

[SourceDisksFiles.amd64]
DisplayProxy10.dll=1,x64

[SourceDisksNames.x86]
1 = %DiskName%

[SourceDisksNames.amd64]
1 = %DiskName%

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

[MyDevice_Install.NT]
CopyFiles=UMDriverCopy

[MyDevice_Install.NT.hw]
AddReg = MyDevice_HardwareDeviceSettings

[MyDevice_HardwareDeviceSettings]
HKR,, "UpperFilters",  %REG_MULTI_SZ%, "IndirectKmd"
HKR, "WUDF", "DeviceGroupId", %REG_SZ%, "DisplayProxy10Group" ; TODO: edit driver group name, see README.md for more info

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

[MyDevice_Install.NT.Wdf]
UmdfService=DisplayProxy10,DisplayProxy10_Install
UmdfServiceOrder=DisplayProxy10
UmdfKernelModeClientPolicy = AllowKernelModeClients

[DisplayProxy10_Install]
UmdfLibraryVersion=2.15.0 
ServiceBinary=%12%\UMDF\DisplayProxy10.dll
UmdfExtensions = IddCx0102

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

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

[UMDriverCopy]
DisplayProxy10.dll

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

[Strings]
ManufacturerName="AnDisplay Co,Ltd" ; TODO: Replace with your manufacturer name
DiskName = "DisplayProxy10 Installation Disk" ; TODO: Replace with driver disk name
WudfRdDisplayName="Windows Driver Foundation - User-mode Driver Framework Reflector"
DeviceName="USBDisplay Device" ; TODO: Replace with correct device name

REG_MULTI_SZ  = 0x00010000
REG_SZ        = 0x00000000
REG_EXPAND_SZ = 0x00020000
REG_DWORD     = 0x00010001
