;Monitor.Inf
;Copyright 2021, ViewSonic Corporation

[Version]   
CatalogFile=VA2408-FHD.cat  
PnpLockdown=1
signature="$Windows NT$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%ViewSonic%
DriverVer=03/08/2021, 1.5.0.0

[DestinationDirs]
DefaultDestDir= 12
VA2408-FHD.CopyFiles=23

[SourceDisksNames]
1=%diskname%,,

[SourceDisksFiles]
VA2408-FHD.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\VSCD73B

[ViewSonic.NTx86]   
%VA2408-FHD%=VA2408-FHD.Install,Monitor\VSCD73B

[ViewSonic.NTamd64]   
%VA2408-FHD%=VA2408-FHD.Install,Monitor\VSCD73B

[VA2408-FHD.Install]   
DelReg=DEL_CURRENT_REG 
AddReg=VA2408-FHD.AddReg
Copyfiles=VA2408-FHD.CopyFiles

[VA2408-FHD.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

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

[VA2408-FHD.AddReg]  
HKR,"MODES\1920x1080",Mode1,,"24-86,50-75,+,+"
HKR,,MaxResolution,,"1920x1080"
HKR,,DPMS,,1
HKR,,PreferredMode,,"1920x1080,60"
HKR,,ICMProfile,0,"VA2408-FHD.ICM"

[VA2408-FHD.CopyFiles]                                       
VA2408-FHD.ICM

[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
Monitor.SVCDESC = "Microsoft Monitor Class Function Driver Service"
ViewSonic="ViewSonic"
diskname="ViewSonic VA2408-FHD Wizard"
VA2408-FHD="ViewSonic VA2408-FHD"