; Copyright 2024 LEN International (Europe) GmbH
; This is a Setup information file for monitors with ICM file.


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

[ControlFlags]
ExcludeFromSelect.NT=monitor\LEN67EC
ExcludeFromSelect.NT=monitor\LEN67EC
ExcludeFromSelect.NT=monitor\LEN67EC

[DestinationDirs]
DefaultDestDir=11
67EC_HDMI1.CopyFiles=23
67EC_HDMI2.CopyFiles=23
67EC_DP.CopyFiles=23


[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
Legion27Q-15.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]
%67EC_HDMI1%=67EC_HDMI1.Install,monitor\LEN67EC
%67EC_HDMI2%=67EC_HDMI2.Install,monitor\LEN67EC
%67EC_DP%=67EC_DP.Install,monitor\LEN67EC

[LEN.ntx86]
%67EC_HDMI1%=67EC_HDMI1.Install,monitor\LEN67EC
%67EC_HDMI2%=67EC_HDMI2.Install,monitor\LEN67EC
%67EC_DP%=67EC_DP.Install,monitor\LEN67EC

[LEN.ntamd64]
%67EC_HDMI1%=67EC_HDMI1.Install,monitor\LEN67EC
%67EC_HDMI2%=67EC_HDMI2.Install,monitor\LEN67EC
%67EC_DP%=67EC_DP.Install,monitor\LEN67EC


[67EC_HDMI1.Install]
DelReg=DEL_CURRENT_REG
AddReg=67EC_HDMI1.AddReg
Copyfiles=67EC_HDMI1.CopyFiles

[67EC_HDMI1.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

[67EC_HDMI2.Install]
DelReg=DEL_CURRENT_REG
AddReg=67EC_HDMI2.AddReg
Copyfiles=67EC_HDMI2.CopyFiles

[67EC_HDMI2.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install


[67EC_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=67EC_DP.AddReg
Copyfiles=67EC_DP.CopyFiles

[67EC_DP.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

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

[67EC_HDMI1.AddReg]
HKR,"MODES\2560,1440",Mode1,,"30.0-255.0,48.0-240.0,+,+"
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"Legion27Q-15.icm" 
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, E55026B6-496B-4ACC-B371-A1211D829ABD 


[67EC_HDMI2.AddReg]
HKR,"MODES\2560,1440",Mode1,,"30.0-255.0,48.0-240.0,+,+"
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"Legion27Q-15.icm" 
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, E55026B6-496B-4ACC-B371-A1211D829ABD 


[67EC_DP.AddReg]
HKR,"MODES\2560,1440",Mode1,,"255.0-255.0,48.0-240.0,+,+"
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"Legion27Q-15.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, E55026B6-496B-4ACC-B371-A1211D829ABD 



[67EC_HDMI1.CopyFiles]
Legion27Q-15.icm

[67EC_HDMI2.CopyFiles]
Legion27Q-15.icm

[67EC_DP.CopyFiles]
Legion27Q-15.icm


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

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

67EC_HDMI1="LEN Legion27Q-15"
67EC_HDMI2="LEN Legion27Q-15"
67EC_DP="LEN Legion27Q-15"
REG_MULTI_SZ_APPEND = 0x00010008
