;==================================================
; R27qc-30.inf       Version: 1.0        05/10/2024
;
; This is setup information file for monitor.
;
; Copyright (c) 2024 Lenovo Inc. All rights reserved.
;==================================================

[Version]
Signature   = "$Windows NT$"
Class       = Monitor
ClassGuid   = {4d36e96e-e325-11ce-bfc1-08002be10318}
Provider    = %Lenovo%
CatalogFile = R27qc-30.cat
DriverVer   = 05/10/2022, 1.0.0.0
PnpLockDown = 1

[SourceDisksNames]
1 = %DiskName%

[SourceDisksFiles]
R27qc-30.icm = 1

[DestinationDirs]
R27qc-30.Copyfiles = 23

[Manufacturer]
%Lenovo% = Lenovo, NTx86, NTamd64

[Lenovo]

[Lenovo.NTx86]
%R27qc-30.HDMI1% = R27qc-30.HDMI1.Install, Monitor\LEN67C6
%R27qc-30.HDMI2% = R27qc-30.HDMI2.Install, Monitor\LEN67C6
%R27qc-30.DP%    = R27qc-30.DP.Install, Monitor\LEN67C6

[Lenovo.NTamd64]
%R27qc-30.HDMI1% = R27qc-30.HDMI1.Install, Monitor\LEN67C6
%R27qc-30.HDMI2% = R27qc-30.HDMI2.Install, Monitor\LEN67C6
%R27qc-30.DP%    = R27qc-30.DP.Install, Monitor\LEN67C6

[R27qc-30.HDMI1.Install]
DelReg    = DEL_CURRENT_REG
AddReg    = R27qc-30.HDMI1.AddReg, 2560, DPMS
CopyFiles = R27qc-30.CopyFiles

[R27qc-30.HDMI2.Install]
DelReg    = DEL_CURRENT_REG
AddReg    = R27qc-30.HDMI2.AddReg, 2560, DPMS
CopyFiles = R27qc-30.CopyFiles

[R27qc-30.DP.Install]
DelReg    = DEL_CURRENT_REG
AddReg    = R27qc-30.DP.AddReg, 2560, DPMS
CopyFiles = R27qc-30.CopyFiles

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

[R27qc-30.HDMI1.AddReg]
HKR,"MODES\2560,1440",Mode1,,"30.0-230.0,48.0-144.0,+,-"
HKR,,ICMProfile,0,"R27qc-30.icm"

[R27qc-30.HDMI2.AddReg]
HKR,"MODES\2560,1440",Mode1,,"30.0-230.0,48.0-144.0,+,-"
HKR,,ICMProfile,0,"R27qc-30.icm"

[R27qc-30.DP.AddReg]
HKR,"MODES\2560,1440",Mode1,,"30.0-270.0,48.0-180.0,+,-"
HKR,,ICMProfile,0,"R27qc-30.icm"

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

[DPMS]
HKR,,DPMS,,1

[R27qc-30.CopyFiles]
R27qc-30.icm

[R27qc-30.HDMI1.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install

[R27qc-30.HDMI2.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install

[R27qc-30.DP.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install

[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

[Strings]
SPSVCINST_ASSOCSERVICE   = 0x00000002
Monitor.SVCDESC          = "Monitor Class Function Driver Service"
Lenovo                     = "Lenovo Inc."
DiskName                 = "Lenovo Monitor Installation Disk"
R27qc-30.HDMI1   = "Lenovo R27qc-30 (HDMI1)"
R27qc-30.HDMI2   = "Lenovo R27qc-30 (HDMI2)"
R27qc-30.DP      = "Lenovo R27qc-30 (DP)"