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

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

[DestinationDirs]
DefaultDestDir= 12
XG3240C_Series.CopyFiles=23

[SourceDisksNames]
1=%diskname%,,

[SourceDisksFiles]
XG3240C_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\VSC6F35

[ViewSonic]   
%XG3240C_Series_DP%=XG3240C_Series_DP.Install,Monitor\VSC6F35
%XG3240C_Series_HDMI_20%=XG3240C_Series_HDMI_20.Install,Monitor\VSC6F35

[ViewSonic.NTx86]   
%XG3240C_Series_DP%=XG3240C_Series_DP.Install,Monitor\VSC6F35
%XG3240C_Series_HDMI_20%=XG3240C_Series_HDMI_20.Install,Monitor\VSC6F35

[ViewSonic.NTAMD64]   
%XG3240C_Series_DP%=XG3240C_Series_DP.Install,Monitor\VSC6F35
%XG3240C_Series_HDMI_20%=XG3240C_Series_HDMI_20.Install,Monitor\VSC6F35 

[XG3240C_Series_DP.Install]   
DelReg=DEL_CURRENT_REG 
AddReg=XG3240C_Series_DP.AddReg
Copyfiles=XG3240C_Series.CopyFiles

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

[XG3240C_Series_HDMI_20.Install]   
DelReg=DEL_CURRENT_REG 
AddReg=XG3240C_Series_HDMI_20.AddReg
Copyfiles=XG3240C_Series.CopyFiles

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

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

[XG3240C_Series_DP.AddReg]  
HKR,"MODES\2560,1440",Mode1,,"15-222,48-144,-,+"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,PreferredMode,,"2560,1440,60"
HKR,,ICMProfile,0,"XG3240C_Series.ICM"

[XG3240C_Series_HDMI_20.AddReg]  
HKR,"MODES\2560,1440",Mode1,,"15-222,24-144,-,+"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,PreferredMode,,"2560,1440,60"
HKR,,ICMProfile,0,"XG3240C_Series.ICM"

[XG3240C_Series.CopyFiles]                                       
XG3240C_Series.ICM

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

ViewSonic="ViewSonic"
diskname="ViewSonic XG3240C Series Wizard"
XG3240C_Series_DP="ViewSonic XG3240C Series"
XG3240C_Series_HDMI_20="ViewSonic XG3240C Series"