;Y27q-30.inf Ver. 2.0
;Monitor INF file for Lenovo Display Y27q-30
;Copyright 2023 Lenovo Cooperation, All rights reserved.


[Version]
signature="$CHICAGO$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%Lenovo%
CatalogFile=Y27q-30.cat
DriverVer=06/25/2023,2.0.0.0
PnpLockDown = 1

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

[SourceDisksFiles]
Y27q-30.icm=1

[DestinationDirs]
DefaultDestDir=11
Y27q-30.CopyFiles=23

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

 [Lenovo.NTx86] 
%Y27q-30%=Y27q-30.Install, Monitor\LEN66F7
 [Lenovo.NTAMD64] 
%Y27q-30%=Y27q-30.Install, Monitor\LEN66F7
; Install Sections
;-------------------------------------------------
[Y27q-30.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

[Y27q-30.Install]
DELReg=DEL_CURRENT_REG    
AddReg=Y27q-30.AddReg, 2560, DPMS, DisplayHdrLevel
CopyFiles=Y27q-30.CopyFiles
					     
; AddReg & DELReg sections
;-------------------------------------------------

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

[2560]
HKR,,MaxResolution,,"2560,1440"

[DPMS]
HKR,,DPMS,,1

[DisplayHdrLevel]
HKR,,DisplayHdrLevel,0x10000,"0D710BC2-6368-4EB2-A829-CBBD45CE3BD2"

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

[Y27q-30.AddReg]
HKR,"MODES\2560,1440",Mode1,,"15.0-283.0,48.0-180.0,+,+"
HKR,,ICMProfile,0,"Y27q-30.icm"

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

[Y27q-30.CopyFiles]
Y27q-30.icm

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

[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
Monitor.SVCDESC        = "Monitor Class Function Driver Service"
DISK="Lenovo Monitor Installation Disk"
Lenovo="Lenovo Inc."	
Y27q-30="Lenovo Y27q-30"
