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

[Version]
signature="$CHICAGO$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%LEN%
Catalogfile=p40wd-40.cat
DriverVer=07/04/2025,1.0.0.0

[ControlFlags]
ExcludeFromSelect.nt=Monitor\LEN64B4


[DestinationDirs]
DefaultDestDir=11
64B4_DP.CopyFiles=23
64B4_H.CopyFiles=23
64B4_DP_30hz.CopyFiles=23
64B4_H_30hz.CopyFiles=23

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
p40wd-40.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]
%64B4_DP%=64B4_DP.Install, Monitor\LEN64B4
%64B4_H%=64B4_H.Install, Monitor\LEN64B4
%64B4_DP_30hz%=64B4_DP_30hz.Install, Monitor\LEN64B4
%64B4_H_30hz%=64B4_H_30hz.Install, Monitor\LEN64B4

[LEN.NTAMD64]
%64B4_DP%=64B4_DP.Install, Monitor\LEN64B4
%64B4_H%=64B4_H.Install, Monitor\LEN64B4
%64B4_DP_30hz%=64B4_DP_30hz.Install, Monitor\LEN64B4
%64B4_H_30hz%=64B4_H_30hz.Install, Monitor\LEN64B4

[64B4_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=64B4_DP.AddReg
Copyfiles=64B4_DP.CopyFiles

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

[64B4_H.Install]
DelReg=DEL_CURRENT_REG
AddReg=64B4_H.AddReg
Copyfiles=64B4_H.CopyFiles

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

[64B4_DP_30hz.Install]
DelReg=DEL_CURRENT_REG
AddReg=64B4_DP_30hz.AddReg
Copyfiles=64B4_DP_30hz.CopyFiles

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

[64B4_H_30hz.Install]
DelReg=DEL_CURRENT_REG
AddReg=64B4_H_30hz.AddReg
Copyfiles=64B4_H_30hz.CopyFiles

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

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

[64B4_DP.AddReg]
HKR,"MODES\5120,2160",Mode1,,"280.0-280.0,24.0-120.0,+,-"
HKR,,MaxResolution,,"5120,2160"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"p40wd-40.icm"

[64B4_H.AddReg]
HKR,"MODES\5120,2160",Mode1,,"25.0-280.0,24.0-120.0,+,-"
HKR,,MaxResolution,,"5120,2160"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"p40wd-40.icm"

[64B4_DP_30hz.AddReg]
HKR,"MODES\5120,2160",Mode1,,"190.0-190.0,24.0-120.0,+,-"
HKR,,MaxResolution,,"5120,2160"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"p40wd-40.icm"

[64B4_H_30hz.AddReg]
HKR,"MODES\5120,2160",Mode1,,"25.0-190.0,24.0-120.0,+,-"
HKR,,MaxResolution,,"5120,2160"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"p40wd-40.icm"

[64B4_DP.CopyFiles]
p40wd-40.icm
[64B4_H.CopyFiles]
p40wd-40.icm
[64B4_DP_30hz.CopyFiles]
p40wd-40.icm
[64B4_H_30hz.CopyFiles]
p40wd-40.icm

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

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

64B4_DP="P40WD-40"
64B4_H="P40WD-40"
64B4_DP_30hz="P40WD-40"
64B4_H_30hz="P40WD-40"