; Copyright 2021 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=G27qe-28.cat
DriverVer=10/09/2021,1.0.0.0

[ControlFlags]
ExcludeFromSelect.nt=Monitor\LEN66E2


[DestinationDirs]
DefaultDestDir=11
66E2_HDMI.CopyFiles=23
66E2_HDMI2.CopyFiles=23
66E2_DP.CopyFiles=23
66E2_DP2.CopyFiles=23

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
G27qe-28.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]
%66E2_HDMI%=66E2_HDMI.Install, Monitor\LEN66E2
%66E2_HDMI2%=66E2_HDMI2.Install, Monitor\LEN66E2
%66E2_DP%=66E2_DP.Install, Monitor\LEN66E2
%66E2_DP2%=66E2_DP2.Install, Monitor\LEN66E2

[LEN.NTAMD64]
%66E2_HDMI%=66E2_HDMI.Install, Monitor\LEN66E2
%66E2_HDMI2%=66E2_HDMI2.Install, Monitor\LEN66E2
%66E2_DP%=66E2_DP.Install, Monitor\LEN66E2
%66E2_DP2%=66E2_DP2.Install, Monitor\LEN66E2


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

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

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

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

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

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

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

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

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


[66E2_HDMI.AddReg]
HKR,"MODES\2560,1440",Mode1,,"30.0-185.0,48.0-100.0,+,+"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"G27qe-28.icm"

[66E2_HDMI2.AddReg]
HKR,"MODES\2560,1440",Mode1,,"30.0-185.0,48.0-110.0,+,+"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"G27qe-28.icm"

[66E2_DP.AddReg]
HKR,"MODES\2560,1440",Mode1,,"185.0-185.0,48.0-100.0,+,+"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"G27qe-28.icm"

[66E2_DP2.AddReg]
HKR,"MODES\2560,1440",Mode1,,"185.0-185.0,48.0-110.0,+,+"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"G27qe-28.icm"

[66E2_HDMI.CopyFiles]
G27qe-28.icm
[66E2_HDMI2.CopyFiles]
G27qe-28.icm
[66E2_DP.CopyFiles]
G27qe-28.icm
[66E2_DP2.CopyFiles]
G27qe-28.icm

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

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

66E2_HDMI="G27qe-28"
66E2_HDMI2="G27qe-28"
66E2_DP="G27qe-28"
66E2_DP2="G27qe-28"