;Monitor.Inf for Windows(R) 10 x86/x64, 11 x64/Arm64
;Copyright 2023, ViewSonic Corporation

[Version]   
CatalogFile=VX2779-2K-PRO-3.cat  
PnpLockdown=1
signature="$Windows NT$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%ViewSonic%
DriverVer=11/03/2023, 1.0.0.0

[DestinationDirs]
DefaultDestDir= 12
VX2779-2K-PRO-3.CopyFiles=23

[SourceDisksNames]
1=%diskname%,,

[SourceDisksFiles]
VX2779-2K-PRO-3.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,NTarm64

[ControlFlags]
ExcludeFromSelect.nt=Monitor\VSC8540

[ViewSonic.NTx86]   
%VX2779-2K-PRO-3_HDMI%=VX2779-2K-PRO-3_HDMI.Install,Monitor\VSC8540
%VX2779-2K-PRO-3_DP%=VX2779-2K-PRO-3_DP.Install,Monitor\VSC8540

[ViewSonic.NTamd64]   
%VX2779-2K-PRO-3_HDMI%=VX2779-2K-PRO-3_HDMI.Install,Monitor\VSC8540
%VX2779-2K-PRO-3_DP%=VX2779-2K-PRO-3_DP.Install,Monitor\VSC8540

[ViewSonic.NTarm64]   
%VX2779-2K-PRO-3_HDMI%=VX2779-2K-PRO-3_HDMI.Install,Monitor\VSC8540
%VX2779-2K-PRO-3_DP%=VX2779-2K-PRO-3_DP.Install,Monitor\VSC8540

[VX2779-2K-PRO-3_DP.Install]   
AddReg=VX2779-2K-PRO-3_DP.AddReg
Copyfiles=VX2779-2K-PRO-3.CopyFiles

[VX2779-2K-PRO-3_DP.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

[VX2779-2K-PRO-3_DP.AddReg]
HKR,"MODES\2560,1440",Mode1,,"255-255,48-180,+,-"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,PreferredMode,,"2560,1440,60"
HKR,,ICMProfile,0,"VX2779-2K-PRO-3.ICM"

[VX2779-2K-PRO-3_HDMI.Install]   
AddReg=VX2779-2K-PRO-3_HDMI.AddReg
Copyfiles=VX2779-2K-PRO-3.CopyFiles

[VX2779-2K-PRO-3_HDMI.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

[VX2779-2K-PRO-3_HDMI.AddReg]
HKR,"MODES\2560,1440",Mode1,,"31-215,48-144,+,+"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,PreferredMode,,"2560,1440,60"
HKR,,ICMProfile,0,"VX2779-2K-PRO-3.ICM"

[VX2779-2K-PRO-3.CopyFiles]                                       
VX2779-2K-PRO-3.ICM

[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
Monitor.SVCDESC = "Microsoft Monitor Class Function Driver Service"

ViewSonic="ViewSonic"
diskname="ViewSonic VX2779-2K-PRO-3 Wizard"
VX2779-2K-PRO-3_HDMI="ViewSonic VX2779-2K-PRO-3"
VX2779-2K-PRO-3_DP="ViewSonic VX2779-2K-PRO-3"