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

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

[DestinationDirs]
DefaultDestDir= 12
VG3209-4K.CopyFiles=23

[SourceDisksNames]
1=%diskname%,,

[SourceDisksFiles]
VG3209-4K.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\VSCEF3F

[ViewSonic.NTx86]   
%VG3209-4K_H%=VG3209-4K_H.Install,Monitor\VSCEF3F
%VG3209-4K_D%=VG3209-4K_D.Install,Monitor\VSCEF3F

[ViewSonic.NTamd64]   
%VG3209-4K_H%=VG3209-4K_H.Install,Monitor\VSCEF3F
%VG3209-4K_D%=VG3209-4K_D.Install,Monitor\VSCEF3F 

[ViewSonic.NTarm64]   
%VG3209-4K_H%=VG3209-4K_H.Install,Monitor\VSCEF3F
%VG3209-4K_D%=VG3209-4K_D.Install,Monitor\VSCEF3F 

[VG3209-4K_H.Install]   
AddReg=VG3209-4K_H.AddReg
Copyfiles=VG3209-4K.CopyFiles

[VG3209-4K_H.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

[VG3209-4K_D.Install]   
AddReg=VG3209-4K_D.AddReg
Copyfiles=VG3209-4K.CopyFiles

[VG3209-4K_D.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

[VG3209-4K_H.AddReg]  
HKR,"MODES\3840,2160",Mode1,,"15-140,24-75,+,+" 
HKR,,MaxResolution,,"3840,2160"
HKR,,DPMS,,1
HKR,,PreferredMode,,"3840,2160,60"
HKR,,ICMProfile,0,"VG3209-4K.ICM"

[VG3209-4K_D.AddReg]  
HKR,"MODES\3840,2160",Mode1,,"24-140,48-75,+,-" 
HKR,,MaxResolution,,"3840,2160"
HKR,,DPMS,,1
HKR,,PreferredMode,,"3840,2160,60"
HKR,,ICMProfile,0,"VG3209-4K.ICM"

[VG3209-4K.CopyFiles]                                       
VG3209-4K.ICM

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

ViewSonic="ViewSonic"
diskname="ViewSonic VG3209-4K Wizard"
VG3209-4K_H="ViewSonic VG3209-4K"
VG3209-4K_D="ViewSonic VG3209-4K"