;Monitor.Inf for Windows(R) 10 x86/x64, 11 x64/Arm64
;Copyright 2023, ViewSonic Corporation

[Version]   
CatalogFile=VA2247-100Hz.cat  
PnpLockdown=1
signature="$Windows NT$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%ViewSonic%
DriverVer=05/22/2023, 1.0.0.0

[DestinationDirs]
DefaultDestDir= 12
VA2247-100Hz.CopyFiles=23

[SourceDisksNames]
1=%diskname%,,

[SourceDisksFiles]
VA2247-100Hz.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,NTarm64

[ControlFlags]
ExcludeFromSelect.nt=Monitor\VSC2F3B
ExcludeFromSelect.nt=Monitor\VSC603F

[ViewSonic.NTx86]   
%VA2247-100Hz_Digital%=VA2247-100Hz_Digital.Install,Monitor\VSC603F
%VA2247-100Hz_Analog%=VA2247-100Hz_Analog.Install,Monitor\VSC2F3B

[ViewSonic.NTamd64]   
%VA2247-100Hz_Digital%=VA2247-100Hz_Digital.Install,Monitor\VSC603F
%VA2247-100Hz_Analog%=VA2247-100Hz_Analog.Install,Monitor\VSC2F3B

[ViewSonic.NTarm64]   
%VA2247-100Hz_Digital%=VA2247-100Hz_Digital.Install,Monitor\VSC603F
%VA2247-100Hz_Analog%=VA2247-100Hz_Analog.Install,Monitor\VSC2F3B

[VA2247-100Hz_Digital.Install]   
AddReg=VA2247-100Hz_Digital.AddReg
Copyfiles=VA2247-100Hz.CopyFiles

[VA2247-100Hz_Digital.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

[VA2247-100Hz_Analog.Install]   
AddReg=VA2247-100Hz_Analog.AddReg
Copyfiles=VA2247-100Hz.CopyFiles

[VA2247-100Hz_Analog.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

[VA2247-100Hz_Digital.AddReg]  
HKR,"MODES\1920x1080",Mode1,,"24-115,48-100,+,-"
HKR,,MaxResolution,,"1920x1080"
HKR,,DPMS,,1
HKR,,PreferredMode,,"1920x1080,60"
HKR,,ICMProfile,0,"VA2247-100Hz.ICM"

[VA2247-100Hz_Analog.AddReg]  
HKR,"MODES\1920x1080",Mode1,,"24-86,48-75,+,-"
HKR,,MaxResolution,,"1920x1080"
HKR,,DPMS,,1
HKR,,PreferredMode,,"1920x1080,60"
HKR,,ICMProfile,0,"VA2247-100Hz.ICM"

[VA2247-100Hz.CopyFiles]                                       
VA2247-100Hz.ICM

[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
Monitor.SVCDESC = "Microsoft Monitor Class Function Driver Service"
ViewSonic="ViewSonic"
diskname="ViewSonic VA2247 100Hz Wizard"
VA2247-100Hz_Digital="ViewSonic VA2247 100Hz"
VA2247-100Hz_Analog="VA2247-FHD"