;Legion 25-10.inf Ver. 2.0
;Monitor INF file for Lenovo Display Legion 25-10
;Copyright 2025 Lenovo Cooperation, All rights reserved.


[Version]
signature="$CHICAGO$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%Lenovo%
CatalogFile=Legion 25-10.cat
DriverVer=04/17/2025,2.0.0.0
PnpLockDown = 1

;-------------------------------------------------
[ControlFlags]
ExcludeFromSelect.nt=Monitor\LEN67D4
[SourceDisksNames]
1=%DISK%,,,

[SourceDisksFiles]
Legion 25-10.icm=1

[DestinationDirs]
DefaultDestDir=11
Legion 25-10.CopyFiles=23

; Manufacturers
;-------------------------------------------------
[Manufacturer]
%Lenovo%=Lenovo,NTx86,NTAMD64

 [Lenovo.NTx86] 
%Legion 25-10%=Legion 25-10.Install, Monitor\LEN67D4
 [Lenovo.NTAMD64] 
%Legion 25-10%=Legion 25-10.Install, Monitor\LEN67D4
; Install Sections
;-------------------------------------------------
[Legion 25-10.Install.Services]
AddService = monitor,%SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install

[Monitor_Service.Install]
Display_Name = %Monitor.SVCDESC%
ServiceType = 1;SERVICE_KERNEL_DRIVER
StartType = 3;SERVICE_DEMAND_START
ErrorControl =1;SERVICE_ERROR_NORMAL
ServiceBinary = %12%\monitor.sys

[Legion 25-10.Install]
DELReg=DEL_CURRENT_REG    
AddReg=Legion 25-10.AddReg, 1920, DPMS
CopyFiles=Legion 25-10.CopyFiles
					     
; AddReg & DELReg sections
;-------------------------------------------------

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

[1920]
HKR,,MaxResolution,,"1920,1080"

[DPMS]
HKR,,DPMS,,1

; AddReg sections
;---------------------------------------------------------- 

[Legion 25-10.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30.0-353.0,48.0-320.0,+,+"
HKR,,ICMProfile,0,"Legion 25-10.icm"

;---------------------------------------------------------- 

[Legion 25-10.CopyFiles]
Legion 25-10.icm

;----------------------------------------------------------  

[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
Monitor.SVCDESC        = "Monitor Class Function Driver Service"
DISK="Lenovo Monitor Installation Disk"
Lenovo="Lenovo"		
Legion 25-10="Lenovo Legion 25-10"
