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

;-------------------------------------------------
[ControlFlags]
ExcludeFromSelect.NT=Monitor\IVM616A
ExcludeFromSelect.NT=Monitor\IVM616B

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
PL2493Q.icm=1

[DestinationDirs]
DefaultDestDir = 12
PL2493Q_HDMI.copyfiles = 23
PL2493Q_DP.copyfiles = 23

; Manufacturers
;-------------------------------------------------
[Manufacturer]
%iiyama%=iiyama,NTx86,NTAMD64

 [iiyama] 
%PL2493Q_HDMI%=PL2493Q_HDMI.Install, Monitor\IVM616A
%PL2493Q_DP%  =PL2493Q_DP.Install,   Monitor\IVM616B

 [iiyama.NTx86] 
%PL2493Q_HDMI%=PL2493Q_HDMI.Install, Monitor\IVM616A
%PL2493Q_DP%  =PL2493Q_DP.Install,   Monitor\IVM616B

 [iiyama.NTAMD64] 
%PL2493Q_HDMI%=PL2493Q_HDMI.Install, Monitor\IVM616A
%PL2493Q_DP%  =PL2493Q_DP.Install,   Monitor\IVM616B

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

[PL2493Q_HDMI.Install]
DELReg=DEL_CURRENT_REG    
AddReg=PL2493Q_HDMI.AddReg, 2560, DPMS
CopyFiles=PL2493Q_HDMI.CopyFiles

[PL2493Q_DP.Install]
DELReg=DEL_CURRENT_REG    
AddReg=PL2493Q_DP.AddReg, 2560, DPMS
CopyFiles=PL2493Q_DP.CopyFiles

; AddReg & DELReg sections
;-------------------------------------------------

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

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

[DPMS]
HKR,,DPMS,,1

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

[PL2493Q_HDMI.AddReg]
HKR,"MODES\2560,1440",Mode1,,"15.0-90.0,49.0-75.0,+,-"
HKR,,ICMProfile,0,"PL2493Q.icm"

[PL2493Q_DP.AddReg]
HKR,"MODES\2560,1440",Mode1,,"15.0-90.0,49.0-75.0,+,-"
HKR,,ICMProfile,0,"PL2493Q.icm"

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

[PL2493Q_HDMI.CopyFiles]
PL2493Q.icm

[PL2493Q_DP.CopyFiles]
PL2493Q.icm

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

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

[PL2493Q_DP.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"
PL2493Q="PL2493Q"

PL2493Q_HDMI="iiyama XUB2493QSU (HDMI)"
PL2493Q_DP="iiyama XUB2493QSU (DP)"
