; Copyright 2022 Lenovo International (Europe) GmbH
; This is a Setup information file for monitors with ICM file .
; V001

[Version]
signature="$CHICAGO$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%LEN%
Catalogfile=g34w-30.cat
DriverVer=06/18/2022,1.0.0.0

[ControlFlags]
ExcludeFromSelect.nt=Monitor\LEN66F1


[DestinationDirs]
DefaultDestDir=11
66F1_H.CopyFiles=23
66F1_DP.CopyFiles=23
66F1_DP_2.CopyFiles=23

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
g34w-30.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]
%LEN%=LEN,NTAMD64

[LEN]
%66F1_H%=66F1_H.Install, Monitor\LEN66F1
%66F1_DP%=66F1_DP.Install, Monitor\LEN66F1
%66F1_DP_2%=66F1_DP_2.Install, Monitor\LEN66F1

[LEN.NTAMD64]
%66F1_H%=66F1_H.Install, Monitor\LEN66F1
%66F1_DP%=66F1_DP.Install, Monitor\LEN66F1
%66F1_DP_2%=66F1_DP_2.Install, Monitor\LEN66F1


[66F1_H.Install]
DelReg=DEL_CURRENT_REG
AddReg=66F1_H.AddReg
Copyfiles=66F1_H.CopyFiles

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

[66F1_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=66F1_DP.AddReg
Copyfiles=66F1_DP.CopyFiles

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

[66F1_DP_2.Install]
DelReg=DEL_CURRENT_REG
AddReg=66F1_DP_2.AddReg
Copyfiles=66F1_DP_2.CopyFiles

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

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


[66F1_H.AddReg]
HKR,"MODES\3440,1440",Mode1,,"30.0-155.0,48.0-100.0,+,+"
HKR,,MaxResolution,,"3440,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"g34w-30.icm"

[66F1_DP.AddReg]
HKR,"MODES\3440,1440",Mode1,,285.0-285.0,48.0-165.0,+,+"
HKR,,MaxResolution,,"3440,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"g34w-30.icm"

[66F1_DP_2.AddReg]
HKR,"MODES\3440,1440",Mode1,,285.0-285.0,48.0-170.0,+,+"
HKR,,MaxResolution,,"3440,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"g34w-30.icm"

[66F1_H.CopyFiles]
g34w-30.icm
[66F1_DP.CopyFiles]
g34w-30.icm
[66F1_DP_2.CopyFiles]
g34w-30.icm

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

DiskName="LEN Monitor Installation Disk"
LEN="LEN International (Europe) GmbH"

66F1_H="g34w-30"
66F1_DP="g34w-30"
66F1_DP_2="g34w-30"