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

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

[DestinationDirs]
DefaultDestDir= 12
VP2456.CopyFiles=23

[SourceDisksNames]
1=%diskname%,,

[SourceDisksFiles]
VP2456.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\VSC0A3E

[ViewSonic.NTx86]   
%VP2456%=VP2456.Install,Monitor\VSC0A3E

[ViewSonic.NTamd64]   
%VP2456%=VP2456.Install,Monitor\VSC0A3E

[ViewSonic.NTarm64]   
%VP2456%=VP2456.Install,Monitor\VSC0A3E

[VP2456.Install]   
AddReg=VP2456.AddReg
Copyfiles=VP2456.CopyFiles

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

[VP2456.AddReg]  
HKR,"MODES\1920,1080",Mode1,,"15-94,24-77,+,+"
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMProfile,0,"VP2456.ICM"

[VP2456.CopyFiles]                                       
VP2456.ICM

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

ViewSonic="ViewSonic"
diskname="ViewSonic VP2456 Wizard"
VP2456="ViewSonic VP2456"