;Monitor.Inf 
;Copyright 2017, ViewSonic Corporation
;V001

[Version]   
signature="$CHICAGO$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%ViewSonic%
CatalogFile=XG2730 SERIES.cat
DriverVer=04/11/2017, 1.0.0.0

[ControlFlags]
ExcludeFromSelect.nt=Monitor\VSC0835  


[DestinationDirs]
DefaultDestDir= 11
XG2730 SERIES_DP.CopyFiles=23
XG2730 SERIES_HDMI1_1.4.CopyFiles=23
XG2730 SERIES_HDMI2_2.0.CopyFiles=23

[SourceDisksNames]
1=%diskname%,,,

[SourceDisksFiles]
XG2730 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,NTamd64


[ViewSonic]   
%XG2730 SERIES_DP%=XG2730 SERIES_DP.Install,Monitor\VSC0835
%XG2730 SERIES_HDMI1_1.4%=XG2730 SERIES_HDMI1_1.4.Install,Monitor\VSC0835
%XG2730 SERIES_HDMI2_2.0%=XG2730 SERIES_HDMI2_2.0.Install,Monitor\VSC0835    

[ViewSonic.NTamd64]   
%XG2730 SERIES_DP%=XG2730 SERIES_DP.Install,Monitor\VSC0835
%XG2730 SERIES_HDMI1_1.4%=XG2730 SERIES_HDMI1_1.4.Install,Monitor\VSC0835
%XG2730 SERIES_HDMI2_2.0%=XG2730 SERIES_HDMI2_2.0.Install,Monitor\VSC0835 

[XG2730 SERIES_DP.Install]   
DelReg=DEL_CURRENT_REG 
AddReg=XG2730 SERIES_DP.AddReg
Copyfiles=XG2730 SERIES_DP.CopyFiles

[XG2730 SERIES_DP.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

[XG2730 SERIES_HDMI1_1.4.Install]   
DelReg=DEL_CURRENT_REG 
AddReg=XG2730 SERIES_HDMI1_1.4.AddReg
Copyfiles=XG2730 SERIES_HDMI1_1.4.CopyFiles

[XG2730 SERIES_HDMI1_1.4.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

[XG2730 SERIES_HDMI2_2.0.Install]   
DelReg=DEL_CURRENT_REG 
AddReg=XG2730 SERIES_HDMI2_2.0.AddReg
Copyfiles=XG2730 SERIES_HDMI2_2.0.CopyFiles

[XG2730 SERIES_HDMI2_2.0.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install


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


[XG2730 SERIES_DP.AddReg]  
HKR,"MODES\2560,1440",Mode1,,"222-222,48-144,+,+" 
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"XG2730 SERIES.icm"

[XG2730 SERIES_HDMI1_1.4.AddReg]  
HKR,"MODES\2560,1440",Mode1,,"15-180,24-144,+,+" 
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"XG2730 SERIES.icm"

[XG2730 SERIES_HDMI2_2.0.AddReg]  
HKR,"MODES\2560,1440",Mode1,,"15-222,24-144,+,+" 
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"XG2730 SERIES.icm"

[XG2730 SERIES_DP.CopyFiles]                                       
XG2730 SERIES.icm

[XG2730 SERIES_HDMI1_1.4.CopyFiles]                                       
XG2730 SERIES.icm

[XG2730 SERIES_HDMI2_2.0.CopyFiles]                                       
XG2730 SERIES.icm

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

diskname="XG2730 SERIES ViewSonic Wizard"
ViewSonic="ViewSonic"

XG2730 SERIES_DP="ViewSonic XG2730 SERIES(DP)"
XG2730 SERIES_HDMI1_1.4="ViewSonic XG2730 SERIES(HDMI1_1.4)"
XG2730 SERIES_HDMI2_2.0="ViewSonic XG2730 SERIES(HDMI2_2.0)"