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

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

[ControlFlags]
ExcludeFromSelect.nt=Monitor\VSCBB31  


[DestinationDirs]
DefaultDestDir= 11
XG2401 SERIES_DP.CopyFiles=23
XG2401 SERIES_HDMI.CopyFiles=23

[SourceDisksNames]
1=%diskname%,,,

[SourceDisksFiles]
XG2401 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]   
%XG2401 SERIES_DP%=XG2401 SERIES_DP.Install,Monitor\VSCBB31
%XG2401 SERIES_HDMI%=XG2401 SERIES_HDMI.Install,Monitor\VSCBB31   


[ViewSonic.NTamd64]   
%XG2401 SERIES_DP%=XG2401 SERIES_DP.Install,Monitor\VSCBB31
%XG2401 SERIES_HDMI%=XG2401 SERIES_HDMI.Install,Monitor\VSCBB31
 

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

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

[XG2401 SERIES_HDMI.Install]   
DelReg=DEL_CURRENT_REG 
AddReg=XG2401 SERIES_HDMI.AddReg
Copyfiles=XG2401 SERIES_HDMI.CopyFiles

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


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


[XG2401 SERIES_DP.AddReg]  
HKR,"MODES\1920,1080",Mode1,,"180-180,48-146,+,+" 
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"XG2401 SERIES.icm"

[XG2401 SERIES_HDMI.AddReg]  
HKR,"MODES\1920,1080",Mode1,,"15-180,24-144,+,+" 
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"XG2401 SERIES.icm"


[XG2401 SERIES_DP.CopyFiles]                                       
XG2401 SERIES.icm

[XG2401 SERIES_HDMI.CopyFiles]                                       
XG2401 SERIES.icm

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

diskname="XG2401 SERIES ViewSonic Wizard"
ViewSonic="ViewSonic"

XG2401 SERIES_DP="ViewSonic XG2401 SERIES(DP)"
XG2401 SERIES_HDMI="ViewSonic XG2401 SERIES(HDMI)"