;Monitor.Inf
;Copyright 2021, ViewSonic Corporation

[Version]   
CatalogFile=VG3219-2K.cat  
PnpLockdown=1
signature="$Windows NT$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%ViewSonic%
DriverVer=02/24/2021, 1.5.0.0

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

[SourceDisksNames]
1=%diskname%,,

[SourceDisksFiles]
VG3219-2K.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\VSC1D3B

[ViewSonic.NTx86]   
%VG3219-2K_DP%=VG3219-2K_DP.Install,Monitor\VSC1D3B
%VG3219-2K_HDMI%=VG3219-2K_HDMI.Install,Monitor\VSC1D3B

[ViewSonic.NTamd64]   
%VG3219-2K_DP%=VG3219-2K_DP.Install,Monitor\VSC1D3B
%VG3219-2K_HDMI%=VG3219-2K_HDMI.Install,Monitor\VSC1D3B

[VG3219-2K_DP.Install]   
DelReg=DEL_CURRENT_REG 
AddReg=VG3219-2K_DP.AddReg
Copyfiles=VG3219-2K.CopyFiles

[VG3219-2K_DP.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

[VG3219-2K_HDMI.Install]   
DelReg=DEL_CURRENT_REG 
AddReg=VG3219-2K_HDMI.AddReg
Copyfiles=VG3219-2K.CopyFiles

[VG3219-2K_HDMI.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

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

[VG3219-2K_DP.AddReg]  
HKR,"MODES\2560,1440",Mode1,,"115-115,48-75,+,+"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,PreferredMode,,"2560,1440,75"
HKR,,ICMProfile,0,"VG3219-2K.ICM"

[VG3219-2K_HDMI.AddReg]  
HKR,"MODES\2560,1440",Mode1,,"15-115,48-75,+,+"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,PreferredMode,,"2560,1440,75"
HKR,,ICMProfile,0,"VG3219-2K.ICM"

[VG3219-2K.CopyFiles]                                       
VG3219-2K.ICM

[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
Monitor.SVCDESC = "Microsoft Monitor Class Function Driver Service"
ViewSonic="ViewSonic"
diskname="ViewSonic VG3219-2K Wizard"
VG3219-2K_DP="ViewSonic VG3219-2K"
VG3219-2K_HDMI="ViewSonic VG3219-2K"