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

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

[ControlFlags]
ExcludeFromSelect.nt=Monitor\VSC0A3B  

[DestinationDirs]
DefaultDestDir= 12
VX2768-2KP.CopyFiles=23

[SourceDisksNames]
1=%diskname%,,

[SourceDisksFiles]
VX2768-2KP.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

[ViewSonic.NTamd64]   
%VX2768-2KP_DP%=VX2768-2KP_DP.Install,Monitor\VSC0A3B
%VX2768-2KP_HDMI%=VX2768-2KP_HDMI.Install,Monitor\VSC0A3B  

[ViewSonic.NTarm64]   
%VX2768-2KP_DP%=VX2768-2KP_DP.Install,Monitor\VSC0A3B
%VX2768-2KP_HDMI%=VX2768-2KP_HDMI.Install,Monitor\VSC0A3B 

[VX2768-2KP_DP.Install]   
AddReg=VX2768-2KP_DP.AddReg
Copyfiles=VX2768-2KP.CopyFiles

[VX2768-2KP_DP.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

[VX2768-2KP_HDMI.Install]   
AddReg=VX2768-2KP_HDMI.AddReg
Copyfiles=VX2768-2KP.CopyFiles

[VX2768-2KP_HDMI.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

[VX2768-2KP_DP.AddReg]  
HKR,"MODES\2560,1440",Mode1,,"255-255,48-144,+,+" 
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,PreferredMode,,"2560,1440,60"
HKR,,ICMProfile,0,"VX2768-2KP.icm"

[VX2768-2KP_HDMI.AddReg]  
HKR,"MODES\2560,1440",Mode1,,"15-255,48-144,+,+" 
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,PreferredMode,,"2560,1440,60"
HKR,,ICMProfile,0,"VX2768-2KP.icm"

[VX2768-2KP.CopyFiles]                                       
VX2768-2KP.icm

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

diskname="ViewSonic VX2768-2KP Wizard"
ViewSonic="ViewSonic"

VX2768-2KP_DP="ViewSonic VX2768-2KP"
VX2768-2KP_HDMI="ViewSonic VX2768-2KP"