; 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/30/2020, 1.0.0.5

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

[SourceDisksNames]
1 = %SRCDISK%

[SourceDisksFiles]
LEN8B94_standard.ICM= 1  ; AUO 3840x2160
LEN8B94_advance.ICM= 1  ;  AUO 3840x2160
LEN889A.ICM = 1  ; AUO 1920*1080
LEN889B.ICM = 1  ; BOE 1920*1080
LEN889C.ICM = 1  ; CMN 1920*1080
LEN8993.ICM = 1  ; BOE 1920*1080
LEN8994.ICM = 1  ; CMN 1920*1080
LEN889E.ICM = 1  ; CMN 1920*1080
LEN889D.ICM = 1  ; BOE 1920*1080

[Manufacturer]
%Lenovo% = Lenovo, NTamd64

[Lenovo.NTamd64]                 ; ===== Win10 64 ===========================
%LNBUHDAUO133B%   = LNBLCDUHD_8B94.Install,         Monitor\LEN8B94 ;3840*2160
%LNBFHDAUO683D%   = LNBLCDFHD_889A.Install,         Monitor\LEN889A ;1920*1080
%LNBFHDBOE2229%   = LNBLCDFHD_889B.Install,         Monitor\LEN889B ;1920*1080
%LNBFHDCMN0814%   = LNBLCDFHD_889C.Install,         Monitor\LEN889C ;1920*1080
%LNBFHDBOE2233%   = LNBLCDFHD_8993.Install,         Monitor\LEN8993 ;1920*1080
%LNBFHDCMN1B15%   = LNBLCDFHD_8994.Install,         Monitor\LEN8994 ;1920*1080
%LNBFHDIVOR140N%  = LNBLCDFHD_889E.Install,         Monitor\LEN889E ;1920*1080
%LNBFHDBOE2223%   = LNBLCDFHD_889D.Install,         Monitor\LEN889D ;1920*1080

[LNBLCDFHD_889E.Install]             
DelReg=DEL_CURRENT_REG
AddReg= HD1920, DPMS, ICM_889E
CopyFiles=LNBLCD.CopyFiles

[LNBLCDFHD_889E.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install 

[LNBLCDUHD_8B94.Install]
DelReg=DEL_CURRENT_REG
AddReg=ICM_8B94, UHD3840, DPMS
CopyFiles=LNBLCD.CopyFiles

[LNBLCDUHD_8B94.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install

[LNBLCDFHD_889A.Install]             
DelReg=DEL_CURRENT_REG
AddReg= HD1920, DPMS, ICM_889A
CopyFiles=LNBLCD.CopyFiles

[LNBLCDFHD_889A.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install 

[LNBLCDFHD_889B.Install]             
DelReg=DEL_CURRENT_REG
AddReg= HD1920, DPMS, ICM_889B
CopyFiles=LNBLCD.CopyFiles

[LNBLCDFHD_889B.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install 

[LNBLCDFHD_889C.Install]             
DelReg=DEL_CURRENT_REG
AddReg= HD1920, DPMS, ICM_889C
CopyFiles=LNBLCD.CopyFiles

[LNBLCDFHD_889C.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install 

[LNBLCDFHD_8993.Install]             
DelReg=DEL_CURRENT_REG
AddReg= HD1920, DPMS, ICM_8993
CopyFiles=LNBLCD.CopyFiles

[LNBLCDFHD_8993.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install 

[LNBLCDFHD_8994.Install]             
DelReg=DEL_CURRENT_REG
AddReg= HD1920, DPMS, ICM_8994
CopyFiles=LNBLCD.CopyFiles

[LNBLCDFHD_8994.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install 

[LNBLCDFHD_889D.Install]             
DelReg=DEL_CURRENT_REG
AddReg= HD1920, DPMS, ICM_889D
CopyFiles=LNBLCD.CopyFiles

[LNBLCDFHD_889D.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install 


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

[ICM_889E]
HKR,,ICMProfile,0,"LEN889E.ICM "
HKR,,ICMProfileAC,0,"LEN889E.ICM"

[ICM_8B94]
HKR,,ICMProfile,0,"LEN8B94_standard.ICM"
HKR,,ICMProfileAC,0,"LEN8B94_advance.ICM"

[ICM_889A]
HKR,,ICMProfile,0,"LEN889A.ICM"
HKR,,ICMProfileAC,0,"LEN889A.ICM"

[ICM_889B]
HKR,,ICMProfile,0,"LEN889B.ICM"
HKR,,ICMProfileAC,0,"LEN889B.ICM"

[ICM_889C]
HKR,,ICMProfile,0,"LEN889C.ICM"
HKR,,ICMProfileAC,0,"LEN889C.ICM"

[ICM_8993]
HKR,,ICMProfile,0,"LEN8993.ICM"
HKR,,ICMProfileAC,0,"LEN8993.ICM"

[ICM_8994]
HKR,,ICMProfile,0,"LEN8994.ICM"
HKR,,ICMProfileAC,0,"LEN8994.ICM"

[UHD3840]
HKR,,MaxResolution,,"3840,2160"

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

[ICM_889D]
HKR,,ICMProfile,0,"LEN889D.ICM"
HKR,,ICMProfileAC,0,"LEN889D.ICM"

[DPMS]
HKR,,DPMS,,0

[LNBLCD.CopyFiles]
LEN8B94_standard.ICM
LEN8B94_advance.ICM
LEN889A.ICM
LEN889B.ICM
LEN889C.ICM
LEN8993.ICM
LEN8994.ICM
LEN889E.ICM
LEN889D.ICM

[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"
LNBUHDAUO133B       = "Lenovo Display 3840x2160"
LNBFHDAUO683D       = "Lenovo Display 1920x1080"
LNBFHDBOE2229	    = "Lenovo Display 1920x1080"
LNBFHDCMN0814	    = "Lenovo Display 1920x1080"
LNBFHDBOE2233	    = "Lenovo Display 1920x1080"
LNBFHDCMN1B15	    = "Lenovo Display 1920x1080"
LNBFHDIVOR140N      = "Lenovo Display 1920x1080"
LNBFHDBOE2223	    = "Lenovo Display 1920x1080"