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

[Version]   
CatalogFile=VG2709-2K-MHD-2.cat  
PnpLockdown=1
signature="$Windows NT$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%ViewSonic%
DriverVer=02/20/2024, 1.0.0.0

[DestinationDirs]
DefaultDestDir= 12
VG2709-2K-MHD-2.CopyFiles=23

[SourceDisksNames]
1=%diskname%,,

[SourceDisksFiles]
VG2709-2K-MHD-2.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\VSCFA40

[ViewSonic.NTx86]   
%VG2709-2K-MHD-2%=VG2709-2K-MHD-2.Install,Monitor\VSCFA40

[ViewSonic.NTAMD64]   
%VG2709-2K-MHD-2%=VG2709-2K-MHD-2.Install,Monitor\VSCFA40

[ViewSonic.NTarm64]   
%VG2709-2K-MHD-2%=VG2709-2K-MHD-2.Install,Monitor\VSCFA40

[VG2709-2K-MHD-2.Install]   
AddReg=VG2709-2K-MHD-2.AddReg
Copyfiles=VG2709-2K-MHD-2.CopyFiles

[VG2709-2K-MHD-2.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

[VG2709-2K-MHD-2.AddReg]  
HKR,"MODES\2560,1440",Mode1,,"30-150,48-100,+,+" 
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,PreferredMode,,"2560,1440,60"
HKR,,ICMProfile,0,"VG2709-2K-MHD-2.icm"

[VG2709-2K-MHD-2.CopyFiles]                                       
VG2709-2K-MHD-2.icm

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

ViewSonic="ViewSonic"
diskname="ViewSonic VG2709-2K-MHD-2 Wizard"
VG2709-2K-MHD-2="ViewSonic VG2709-2K-MHD-2"