; 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=06/04/2019, 8.0.0.3

[DestinationDirs]
DefaultDestDir  = 11
LNBLCD.CopyFiles = 23         ; System\Color directory

[SourceDisksNames]
1=%SRCDISK%

[SourceDisksFiles]
MHC2_BOE2.icm=1
MHC2_LG2.icm=1
MHC2_LGD061F.icm=1
MHC2_AUO5A3D.icm=1


[Manufacturer]
%Lenovo%=Lenovo,NTamd64


[Lenovo.NTamd64]                                            ; ===== Win10 64 ==================================
%LNBFHD%     = LNBLCDFHD01.Install,        Monitor\LEN8991    ; YogaC740 BOE 15.6" FHD 1920x1080
%LNBFHD%     = LNBLCDFHD02.Install,        Monitor\LEN8992    ; YogaC740 LG  15.6" FHD 1920x1080
%LNBFHD%     = LNBLCDFHD03.Install,        Monitor\LEN8895    ; S740 LG 15.6" FHD 1920x1080
%LNBFHD%     = LNBLCDFHD04.Install,        Monitor\LEN8894    ; S740 AUO  15.6" FHD 1920x1080


[ControlFlags]
ExcludeFromSelect.nt=*  ; Initialization of all display model-specfic information 

[LNBLCDFHD01.Install]                  ; BOE FHD 1920x1080
DelReg=DEL_CURRENT_REG
AddReg=HD1920, DPMS, FHD01, EICM
CopyFiles=LNBLCD.CopyFiles


[LNBLCDFHD02.Install]                  ; LG FHD 1920x1080
DelReg=DEL_CURRENT_REG
AddReg=HD1920, DPMS, FHD02, EICM
CopyFiles=LNBLCD.CopyFiles

[LNBLCDFHD03.Install]                  ; LG FHD 1920x1080
DelReg=DEL_CURRENT_REG
AddReg=HD1920, DPMS, FHD03, EICM
CopyFiles=LNBLCD.CopyFiles

[LNBLCDFHD04.Install]                  ; AUO FHD 1920x1080
DelReg=DEL_CURRENT_REG
AddReg=HD1920, DPMS, FHD04, EICM
CopyFiles=LNBLCD.CopyFiles


[DEL_CURRENT_REG]                      ; for other than 2nd LCD
HKR,MODES
HKR,,MaxResolution
HKR,,DPMS
HKR,,ICMProfile
HKR,,ICMProfileAC
HKLM,"Software\Lenovo\LenovoDisplayPanel"


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


[DPMS]                                 ; Display Power Management Signaling is a standard from the VESA for power management of video monitors
HKR,,DPMS,,1


[FHD01]
HKR,,ICMProfile,0,"MHC2_BOE2.icm"
HKR,,ICMProfileAC,0,"MHC2_BOE2.icm"

[FHD02]
HKR,,ICMProfile,0,"MHC2_LG2.icm"
HKR,,ICMProfileAC,0,"MHC2_LG2.icm"

[FHD03]
HKR,,ICMProfile,0,"MHC2_LGD061F.icm"
HKR,,ICMProfileAC,0,"MHC2_LGD061F.icm"

[FHD04]
HKR,,ICMProfile,0,"MHC2_AUO5A3D.icm"
HKR,,ICMProfileAC,0,"MHC2_AUO5A3D.icm"


[EICM]
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\ICM\Calibration,CalibrationManagementEnabled,%REG_DWORD%,1            ;fix icm file can not take effect after replace issue

[LNBLCD.CopyFiles]
MHC2_BOE2.icm
MHC2_LG2.icm
MHC2_LGD061F.icm
MHC2_AUO5A3D.icm

[Strings]
; Non-Localizable Strings
REG_SZ         = 0x00000000
REG_MULTI_SZ   = 0x00010000
REG_EXPAND_SZ  = 0x00020000
REG_BINARY     = 0x00000001
REG_DWORD      = 0x00010001

SRCDISK   = "Monitor INF File"

LNBFHD    = "Lenovo Display 1920x1080"

Lenovo    = "Lenovo"
