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

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

[ControlFlags]
ExcludeFromSelect.nt=Monitor\VSCF838  


[DestinationDirs]
DefaultDestDir= 11
XG270QG_DP.CopyFiles=23
XG270QG_HDMI.CopyFiles=23

[SourceDisksNames]
1=%diskname%,,,

[SourceDisksFiles]
XG270QG.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]   
%XG270QG_DP%=XG270QG_DP.Install,Monitor\VSCF838
%XG270QG_HDMI%=XG270QG_HDMI.Install,Monitor\VSCF838  

[ViewSonic.NTamd64]   
%XG270QG_DP%=XG270QG_DP.Install,Monitor\VSCF838
%XG270QG_HDMI%=XG270QG_HDMI.Install,Monitor\VSCF838 

[XG270QG_DP.Install]   
DelReg=DEL_CURRENT_REG 
AddReg=XG270QG_DP.AddReg
Copyfiles=XG270QG_DP.CopyFiles

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

[XG270QG_HDMI.Install]   
DelReg=DEL_CURRENT_REG 
AddReg=XG270QG_HDMI.AddReg
Copyfiles=XG270QG_HDMI.CopyFiles

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


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


[XG270QG_DP.AddReg]  
HKR,"MODES\2560,1440",Mode1,,"240-240,1-165,+,+" 
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"XG270QG.icm"

[XG270QG_HDMI.AddReg]  
HKR,"MODES\2560,1440",Mode1,,"30-140,24-60,+,+" 
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"XG270QG.icm"


[XG270QG_DP.CopyFiles]                                       
XG270QG.icm

[XG270QG_HDMI.CopyFiles]                                       
XG270QG.icm

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

diskname="XG270QG ViewSonic Wizard"
ViewSonic="ViewSonic"

XG270QG_DP="ViewSonic XG270QG"
XG270QG_HDMI="ViewSonic XG270QG"