; 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=p27q-30.cat
DriverVer=04/06/2022,1.0.0.0

[ControlFlags]
ExcludeFromSelect.nt=Monitor\LEN63A2


[DestinationDirs]
DefaultDestDir=11
63A2_H.CopyFiles=23
63A2_DP.CopyFiles=23

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
p27q-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]
%63A2_H%=63A2_H.Install, Monitor\LEN63A2
%63A2_DP%=63A2_DP.Install, Monitor\LEN63A2

[LEN.NTAMD64]
%63A2_H%=63A2_H.Install, Monitor\LEN63A2
%63A2_DP%=63A2_DP.Install, Monitor\LEN63A2


[63A2_H.Install]
DelReg=DEL_CURRENT_REG
AddReg=63A2_H.AddReg
Copyfiles=63A2_H.CopyFiles

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

[63A2_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=63A2_DP.AddReg
Copyfiles=63A2_DP.CopyFiles

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

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


[63A2_H.AddReg]
HKR,"MODES\2560,1440",Mode1,,"30.0-114.0,48.0-70.0,+,+"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"p27q-30.icm"
[63A2_DP.AddReg]
HKR,"MODES\2560,1440",Mode1,,30.0-114.0,48.0-70.0,+,+"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"p27q-30.icm"

[63A2_H.CopyFiles]
p27q-30.icm
[63A2_DP.CopyFiles]
p27q-30.icm

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

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

63A2_H="P27q-30"
63A2_DP="P27q-30"