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

[Version]   
CatalogFile=VP2785-4K.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
VP2785-4K.CopyFiles=23

[SourceDisksNames]
1=%diskname%,,

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

[ControlFlags]
ExcludeFromSelect.nt=Monitor\VSC7F34

[ViewSonic.NTamd64]   
%VP2785-4K%=VP2785-4K.Install,Monitor\VSC7F34

[ViewSonic.NTarm64]   
%VP2785-4K%=VP2785-4K.Install,Monitor\VSC7F34 

[VP2785-4K.Install]   
AddReg=VP2785-4K.AddReg
Copyfiles=VP2785-4K.CopyFiles

[VP2785-4K.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

[VP2785-4K.AddReg]  
HKR,"MODES\4096,2160",Mode1,,"15-160,24-120,+,+" 
HKR,,MaxResolution,,"4096,2160"
HKR,,DPMS,,1
HKR,,PreferredMode,,"3840,2160,60"
HKR,,ICMProfile,0,"VP2785-4K.ICM"

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

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

ViewSonic="ViewSonic"
diskname="ViewSonic VP2785-4K Wizard"
VP2785-4K="ViewSonic VP2785-4K"