; Copyright (c) Lenovo Corporation
; LCD Monitor INF/Color Profile
; Supported OS: Windows 10 64bit only

[Version]
Signature   = "$Windows NT$"
Class       = Monitor
ClassGuid   = {4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider    = %Lenovo%
CatalogFile = LNBLCD.cat
DriverVer   = 07/25/2019, 1.0.0.1

[DestinationDirs]
DefaultDestDir  = 11           ; System\system32 on WinNT Platforms
LNBLCD.CopyFiles = 23          ; System\Color Directory

[SourceDisksNames]
1 = %SRCDISK%

[SourceDisksFiles]
Test_Ideapad-Final-NoMHC2_2019_Dolby_PQ.ICM = 1

[Manufacturer]
%Lenovo% = Lenovo, NTamd64

[Lenovo.NTamd64]                 ; ===== Win10 64 ===========================
%LNBFHD%   = LNBLCDFHD_8190.Install,         Monitor\LEN8190

[LNBLCDFHD_8190.Install]
DelReg=DEL_CURRENT_REG
AddReg=ICM_8190, FHD1920, DPMS
CopyFiles=LNBLCD.CopyFiles

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

[ICM_8190]
HKR,,ICMProfile,0,"Test_Ideapad-Final-NoMHC2_2019_Dolby_PQ.ICM"
HKR,,ICMProfileAC,0,"Test_Ideapad-Final-NoMHC2_2019_Dolby_PQ.ICM"

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

[DPMS]
HKR,,DPMS,,0

[LNBLCD.CopyFiles]
Test_Ideapad-Final-NoMHC2_2019_Dolby_PQ.ICM

[LNBLCDFHD_8190.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]
; Non-Localizable Strings
SPSVCINST_ASSOCSERVICE = 0x00000002
Monitor.SVCDESC        = "Monitor Class Function Driver Service"
REG_SZ         = 0x00000000
REG_MULTI_SZ   = 0x00010000
REG_EXPAND_SZ  = 0x00020000
REG_BINARY     = 0x00000001
REG_DWORD      = 0x00010001
SRCDISK              = "Monitor INF File"
Lenovo               = "Lenovo"
LNBFHD               = "Lenovo Display 1920x1080"