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

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

[DestinationDirs]
DefaultDestDir= 12
VG2248.CopyFiles=23

[SourceDisksNames]
1=%diskname%,,

[SourceDisksFiles]
VG2248.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,NTamd64,NTarm64

[ControlFlags]
ExcludeFromSelect.nt=Monitor\VSC7836

[ViewSonic.NTamd64]   
%VG2248_HDMI_14%=VG2248_HDMI_14.Install,Monitor\VSC7836
%VG2248_VGA%=VG2248_VGA.Install,Monitor\VSC7836

[ViewSonic.NTarm64]   
%VG2248_HDMI_14%=VG2248_HDMI_14.Install,Monitor\VSC7836
%VG2248_VGA%=VG2248_VGA.Install,Monitor\VSC7836

[VG2248_HDMI_14.Install]   
AddReg=VG2248_HDMI_14.AddReg
Copyfiles=VG2248.CopyFiles

[VG2248_HDMI_14.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

[VG2248_VGA.Install]   
AddReg=VG2248_VGA.AddReg
Copyfiles=VG2248.CopyFiles

[VG2248_VGA.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

[VG2248_HDMI_14.AddReg]  
HKR,"MODES\1920,1080",Mode1,,"15-82,24-75,+,+"
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMProfile,0,"VG2248.ICM"

[VG2248_VGA.AddReg]  
HKR,"MODES\1920,1080",Mode1,,"24-82,50-75,+,+"
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMProfile,0,"VG2248.ICM"

[VG2248.CopyFiles]                                       
VG2248.ICM

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

ViewSonic="ViewSonic"
diskname="ViewSonic VG2248 Wizard"
VG2248_HDMI_14="ViewSonic VG2248"
VG2248_VGA="ViewSonic VG2248"