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

[Version]   
CatalogFile=VX3211-2K_Series.cat  
signature="$Windows NT$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%ViewSonic%
DriverVer=06/03/2017, 1.5.0.0

[DestinationDirs]
DefaultDestDir= 12
VX3211-2K_Analog.CopyFiles=23
VX3211-2K_DP.CopyFiles=23
VX3211-2K_HDMI.CopyFiles=23

[SourceDisksNames]
1=%diskname%,,

[SourceDisksFiles]
VX3211-2K_Series.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\VSCF634

[ViewSonic]   
%VX3211-2K_Analog%=VX3211-2K_Analog.Install,Monitor\VSCF634
%VX3211-2K_DP%=VX3211-2K_DP.Install,Monitor\VSCF634
%VX3211-2K_HDMI%=VX3211-2K_HDMI.Install,Monitor\VSCF634  
 

[ViewSonic.NTx86]   
%VX3211-2K_Analog%=VX3211-2K_Analog.Install,Monitor\VSCF634
%VX3211-2K_DP%=VX3211-2K_DP.Install,Monitor\VSCF634
%VX3211-2K_HDMI%=VX3211-2K_HDMI.Install,Monitor\VSCF634  

[ViewSonic.NTAMD64]   
%VX3211-2K_Analog%=VX3211-2K_Analog.Install,Monitor\VSCF634
%VX3211-2K_DP%=VX3211-2K_DP.Install,Monitor\VSCF634
%VX3211-2K_HDMI%=VX3211-2K_HDMI.Install,Monitor\VSCF634  


[VX3211-2K_Analog.Install]   
DelReg=DEL_CURRENT_REG 
AddReg=VX3211-2K_Analog.AddReg
Copyfiles=VX3211-2K_Analog.CopyFiles

[VX3211-2K_Analog.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

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

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

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

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

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

[VX3211-2K_Analog.AddReg]  
HKR,"MODES\1920,1080",Mode1,,"24-83,50-75,+,+" 
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"VX3211-2K_Series.icm"


[VX3211-2K_DP.AddReg]  
HKR,"MODES\2560,1440",Mode1,,"24-99,24-75,+,+" 
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"VX3211-2K_Series.icm"


[VX3211-2K_HDMI.AddReg]  
HKR,"MODES\2560,1440",Mode1,,"24-99,24-75,+,+" 
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"VX3211-2K_Series.icm"

[VX3211-2K_Analog.CopyFiles]                                       
VX3211-2K_Series.icm

[VX3211-2K_DP.CopyFiles]                                       
VX3211-2K_Series.icm

[VX3211-2K_HDMI.CopyFiles]                                       
VX3211-2K_Series.icm


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

ViewSonic="ViewSonic"
diskname="XG2703 Series ViewSonic Wizard"
VX3211-2K_Analog="ViewSonic VX3211-2K Series"
VX3211-2K_DP="ViewSonic VX3211-2K Series"
VX3211-2K_HDMI="ViewSonic VX3211-2K Series"