;Monitor.Inf for Windows(R) 7 x86/x64, 8 x86/x64, 10 x86/x64
;Copyright 2015, ViewSonic Corporation

[Version]   
CatalogFile=VX2778_Series.cat  
signature="$Windows NT$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%ViewSonic%
DriverVer=11/24/2015, 1.5.0.0

[DestinationDirs]
DefaultDestDir= 12
VX2778_Series.CopyFiles=23

[SourceDisksNames]
1=%diskname%,,

[SourceDisksFiles]
VX2778_Series.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

[ControlFlags]
ExcludeFromSelect.nt=Monitor\VSC8432

[ViewSonic]   
%VX2778_Series%=VX2778_Series.Install,Monitor\VSC8432  

[ViewSonic.NTx86]   
%VX2778_Series%=VX2778_Series.Install,Monitor\VSC8432

[ViewSonic.NTAMD64]   
%VX2778_Series%=VX2778_Series.Install,Monitor\VSC8432 

[VX2778_Series.Install]   
DelReg=DEL_CURRENT_REG 
AddReg=VX2778_Series.AddReg
Copyfiles=VX2778_Series.CopyFiles

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

[DEL_CURRENT_REG]
HKR,MODES
HKR,,MaxResolution
HKR,,DPMS 
HKR,,ICMProfile

[VX2778_Series.AddReg]  
HKR,"MODES\2560,1440",Mode1,,"15-100,24-75,+,-" 
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,PreferredMode,,"2560,1440,60"
HKR,,ICMProfile,0,"VX2778_Series.ICM"

[VX2778_Series.CopyFiles]                                       
VX2778_Series.ICM

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

ViewSonic="ViewSonic"
diskname="VX2778 Series ViewSonic Wizard"
VX2778_Series="ViewSonic VX2778 Series"