;
; AsusScreenPadDisplay.inf
;

[Version]
Signature="$Windows NT$"
;ClassGUID = {4D36E97D-E325-11CE-BFC1-08002BE10318}
;Class = System
Class		= HIDClass
ClassGuid	= {745a17a0-74d3-11d0-b6fe-00a0c90f57da};HIDClassGuid
;Class		= Display
;ClassGuid	= {4D36E968-E325-11CE-BFC1-08002BE10318};
ClassVer = 2.0
Provider=%ManufacturerName%
CatalogFile=AsusScreenPadDisplay.cat
DriverVer = 05/24/2018,100.0.0.1

[Manufacturer]
%ManufacturerName%=Standard,NTamd64

[Standard.NTamd64]
;%DeviceName%=AsusScreenPadDisplay_Install, Root\AsusScreenPadDisplayDrv ; TODO: edit hw-id
%DeviceName%=AsusScreenPadDisplay_Install, HID\ELAN1300&Col04 ; TODO: edit hw-id
%DeviceName%=AsusScreenPadDisplay_Install, HID\GDX1505&Col05 ; TODO: edit hw-id
;%DeviceName%=AsusScreenPadDisplay_Install, PCI\CC_0300 ; TODO: edit hw-id

[SourceDisksFiles]
AsusScreenPadDisplay.dll=1

[SourceDisksNames]
1 = %DiskName%

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

[AsusScreenPadDisplay_Install.NT]
FeatureScore=00
CopyFiles=AsusScreenPadDisplayDriverCopy

[AsusScreenPadDisplay_Install.NT.hw]
AddReg = MyDevice_HardwareDeviceSettings

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

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

[AsusScreenPadDisplay_Install.NT.Wdf]
UmdfService=AsusScreenPadDisplayDrv,AsusScreenPadDisplay_Install
UmdfServiceOrder=AsusScreenPadDisplayDrv
UmdfKernelModeClientPolicy = AllowKernelModeClients

[AsusScreenPadDisplay_Install]
UmdfLibraryVersion=2.15.0 
ServiceBinary=%12%\UMDF\AsusScreenPadDisplay.dll
UmdfExtensions = IddCx0102

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

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

[AsusScreenPadDisplayDriverCopy]
AsusScreenPadDisplay.dll

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

[Strings]
ManufacturerName="ASUSTek COMPUTER INC." ; TODO: Replace with your manufacturer name
DiskName = "Asus ScreenPad Display Installation Disk" ; TODO: Replace with driver disk name
WudfRdDisplayName="Windows Driver Foundation - User-mode Driver Framework Reflector"
DeviceName="Asus ScreenPad Display" ; TODO: Replace with correct device name

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