;Monitor.Inf for Windows(R) 7 x86/x64, 8 x86/x64, 10 x86/x64
;Copyright 2020, ViewSonic Corporation

[Version]   
CatalogFile=VX2719-2K-Pro.cat  
signature="$Windows NT$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%ViewSonic%
DriverVer=03/12/2020, 1.5.0.0

[DestinationDirs]
DefaultDestDir= 12
VX2719-2K-Pro.CopyFiles=23

[SourceDisksNames]
1=%diskname%,,

[SourceDisksFiles]
VX2719-2K-Pro.ICM=1

[Monitor_Service.Install]
DisplayName    = %Monitor.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\monitor.sys

[Manufacturer]
%ViewSonic%=ViewSonic,NTx86,NTamd64

[ControlFlags]
ExcludeFromSelect.nt=Monitor\VSC2D39

[ViewSonic.NTx86]   
%VX2719-2K-Pro_DP%=VX2719-2K-Pro_DP.Install,Monitor\VSC2D39
%VX2719-2K-Pro_HDMI_20%=VX2719-2K-Pro_HDMI_20.Install,Monitor\VSC2D39

[ViewSonic.NTamd64]   
%VX2719-2K-Pro_DP%=VX2719-2K-Pro_DP.Install,Monitor\VSC2D39
%VX2719-2K-Pro_HDMI_20%=VX2719-2K-Pro_HDMI_20.Install,Monitor\VSC2D39 

[VX2719-2K-Pro_DP.Install]   
DelReg=DEL_CURRENT_REG 
AddReg=VX2719-2K-Pro_DP.AddReg
Copyfiles=VX2719-2K-Pro.CopyFiles

[VX2719-2K-Pro_DP.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

[VX2719-2K-Pro_HDMI_20.Install]   
DelReg=DEL_CURRENT_REG 
AddReg=VX2719-2K-Pro_HDMI_20.AddReg
Copyfiles=VX2719-2K-Pro.CopyFiles

[VX2719-2K-Pro_HDMI_20.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

[DEL_CURRENT_REG]
HKR,MODES
HKR,,MaxResolution
HKR,,DPMS 
HKR,,ICMProfile

[VX2719-2K-Pro_DP.AddReg]  
HKR,"MODES\2560,1440",Mode1,,"215-215,48-165,+,-"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,PreferredMode,,"2560,1440,60"
HKR,,ICMProfile,0,"VX2719-2K-Pro.ICM"

[VX2719-2K-Pro_HDMI_20.AddReg]  
HKR,"MODES\2560,1440",Mode1,,"24-222,48-144,+,-"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,PreferredMode,,"2560,1440,60"
HKR,,ICMProfile,0,"VX2719-2K-Pro.ICM"

[VX2719-2K-Pro.CopyFiles]                                       
VX2719-2K-Pro.ICM

[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
Monitor.SVCDESC = "Microsoft Monitor Class Function Driver Service"
ViewSonic="ViewSonic"
diskname="ViewSonic VX2719-2K-Pro Wizard"
VX2719-2K-Pro_DP="ViewSonic VX2719-2K-Pro"
VX2719-2K-Pro_HDMI_20="ViewSonic VX2719-2K-Pro"