; 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=q27h-20.cat
DriverVer=03/15/2022,1.0.0.0

[ControlFlags]
ExcludeFromSelect.nt=Monitor\LEN66ED


[DestinationDirs]
DefaultDestDir=11
66ED_HDMI.CopyFiles=23
66ED_HDMI2.CopyFiles=23
66ED_DP.CopyFiles=23
66ED_DP2.CopyFiles=23

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
q27h-20.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]
%66ED_HDMI%=66ED_HDMI.Install, Monitor\LEN66ED
%66ED_HDMI2%=66ED_HDMI2.Install, Monitor\LEN66ED
%66ED_DP%=66ED_DP.Install, Monitor\LEN66ED
%66ED_DP2%=66ED_DP2.Install, Monitor\LEN66ED

[LEN.NTAMD64]
%66ED_HDMI%=66ED_HDMI.Install, Monitor\LEN66ED
%66ED_HDMI2%=66ED_HDMI2.Install, Monitor\LEN66ED
%66ED_DP%=66ED_DP.Install, Monitor\LEN66ED
%66ED_DP2%=66ED_DP2.Install, Monitor\LEN66ED


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

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

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

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

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

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

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

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

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


[66ED_HDMI.AddReg]
HKR,"MODES\2560,1440",Mode1,,"30.0-120.0,48.0-75.0,+,+"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"q27h-20.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, AE040E1F-51EC-4CAC-8501-E611C3C29CFE

[66ED_HDMI2.AddReg]
HKR,"MODES\2560,1440",Mode1,,"30.0-120.0,48.0-75.0,+,+"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"q27h-20.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, AE040E1F-51EC-4CAC-8501-E611C3C29CFE

[66ED_DP.AddReg]
HKR,"MODES\2560,1440",Mode1,,"120.0-120.0,48.0-75.0,+,+"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"q27h-20.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, AE040E1F-51EC-4CAC-8501-E611C3C29CFE

[66ED_DP2.AddReg]
HKR,"MODES\2560,1440",Mode1,,"120.0-120.0,48.0-75.0,+,+"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"q27h-20.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, AE040E1F-51EC-4CAC-8501-E611C3C29CFE

[66ED_HDMI.CopyFiles]
q27h-20.icm
[66ED_HDMI2.CopyFiles]
q27h-20.icm
[66ED_DP.CopyFiles]
q27h-20.icm
[66ED_DP2.CopyFiles]
q27h-20.icm

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

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

66ED_HDMI="Q27h-20"
66ED_HDMI2="Q27h-20"
66ED_DP="Q27h-20"
66ED_DP2="Q27h-20"