;========================================
; iiyama PL2492HN.INF 06/18/2020 Ver. 1.0
; INF File for iiyama PL2492HN
; Copyright (c) 2020, iiyama Corporation
;========================================
;
[Version]
signature="$CHICAGO$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%iiyama%
CatalogFile=PL2492HN.cat
DriverVer=06/18/2020,1.0.0.0

;-------------------------------------------------
[ControlFlags]
ExcludeFromSelect.NT=Monitor\IVM6152
ExcludeFromSelect.NT=Monitor\IVM6154
ExcludeFromSelect.NT=Monitor\IVM6156
[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
PL2492HN.icm=1

[DestinationDirs]
DefaultDestDir=12
PL2492HN_HDMI.copyfiles = 23
PL2492HN_DP.copyfiles = 23
PL2492HN_USB_C.copyfiles = 23
; Manufacturers
;-------------------------------------------------
[Manufacturer]
%iiyama%=iiyama,NTx86,NTAMD64

 [iiyama] 
%PL2492HN_HDMI%=PL2492HN_HDMI.Install, Monitor\IVM6152
%PL2492HN_DP%=PL2492HN_DP.Install, Monitor\IVM6154
%PL2492HN_USB_C%=PL2492HN_USB_C.Install, Monitor\IVM6156


 [iiyama.NTx86] 
%PL2492HN_HDMI%=PL2492HN_HDMI.Install, Monitor\IVM6152
%PL2492HN_DP%=PL2492HN_DP.Install, Monitor\IVM6154
%PL2492HN_USB_C%=PL2492HN_USB_C.Install, Monitor\IVM6156


 [iiyama.NTAMD64] 
%PL2492HN_HDMI%=PL2492HN_HDMI.Install, Monitor\IVM6152
%PL2492HN_DP%=PL2492HN_DP.Install, Monitor\IVM6154
%PL2492HN_USB_C%=PL2492HN_USB_C.Install, Monitor\IVM6156


; Install Sections
;-------------------------------------------------

[PL2492HN_HDMI.Install]
DELReg=DEL_CURRENT_REG    
AddReg=PL2492HN_HDMI.AddReg, 1920, DPMS
CopyFiles=PL2492HN_HDMI.CopyFiles

[PL2492HN_DP.Install]
DELReg=DEL_CURRENT_REG    
AddReg=PL2492HN_DP.AddReg, 1920, DPMS
CopyFiles=PL2492HN_DP.CopyFiles

[PL2492HN_USB_C.Install]
DELReg=DEL_CURRENT_REG    
AddReg=PL2492HN_USB_C.AddReg, 1920, DPMS
CopyFiles=PL2492HN_USB_C.CopyFiles
; AddReg & DELReg sections
;-------------------------------------------------

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

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

[DPMS]
HKR,,DPMS,,1

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

[PL2492HN_HDMI.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30.0-85.0,55.0-76.0,+,+"
HKR,,ICMProfile,0,"PL2492HN.icm"
[PL2492HN_DP.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30.0-85.0,55.0-76.0,+,+"
HKR,,ICMProfile,0,"PL2492HN.icm"
[PL2492HN_USB_C.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30.0-85.0,55.0-76.0,+,+"
HKR,,ICMProfile,0,"PL2492HN.icm"


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

[PL2492HN_HDMI.CopyFiles]
PL2492HN.icm
[PL2492HN_DP.CopyFiles]
PL2492HN.icm
[PL2492HN_USB_C.CopyFiles]
PL2492HN.icm

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

[PL2492HN_HDMI.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install
[PL2492HN_DP.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install
[PL2492HN_USB_C.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

[Monitor_Service.Install]
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\monitor.sys

[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
iiyama ="iiyama"
DiskName="iiyama LCD Monitor Installation Diskette"

PL2492HN_HDMI="iiyama PL2492HN (HDMI)"
PL2492HN_DP="iiyama PL2492HN (DisplayPort)"
PL2492HN_USB_C="iiyama PL2492HN (Type-C Alt mode)"