;================================ 
; ViewSonic_VG2440.INF 12/15/20 Ver. 1.0 
; INF File for Windows 7 x86/x64, 8 x86/x64, 8.1 x86/x64, 10 x86/x64
;Copyright 2020, ViewSonic Corporation
;================================
;
[version]
signature="$CHICAGO$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%ViewSonic%
catalogfile=VG2440.cat
DriverVer=10/28/2020,1.0.0.0

[ControlFlags]
ExcludeFromSelect.NT=Monitor\VSCF63A 

[DestinationDirs]
DefaultDestDir  = 12
VG2440.copyfiles = 23

[SourceDisksNames]
1=%diskname%,,

[SourceDisksFiles]
VG2440.icm=1

[Manufacturer]
%ViewSonic%=ViewSonic,NTx86,NTAMD64

[ViewSonic]   
%VG2440%=VG2440.Install,Monitor\VSCF63A  

[ViewSonic.NTx86]
%VG2440%=VG2440.Install, Monitor\VSCF63A

[ViewSonic.NTAMD64]
%VG2440%=VG2440.Install, Monitor\VSCF63A

[VG2440.Install]
DelReg=DEL_CURRENT_REG
AddReg=VG2440.AddReg, 1920, DPMS
Copyfiles=VG2440.CopyFiles

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

[1920]
HKR,,MaxResolution,,"1920,1080"

[DPMS]
HKR,,DPMS,,1

[VG2440.AddReg]
HKR,"MODES\1920,1080",Mode1,,"24.0-82.0,50.0-75.0,+,+"
HKR,,ICMProfile,0,"VG2440.icm"

[VG2440.CopyFiles]
VG2440.ICM
[VG2440.Install.Services]
AddService=monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install

[Monitor_Service.Install]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\monitor.sys

[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
ViewSonic="ViewSonic"
diskname="VG2440 ViewSonic Wizard"
VG2440="ViewSonic VG2440"