;========================================== 
; BenQ RD240Q.INF
; Copyright (c) 2024, BENQ Corporation

;==========================================

[Version]
signature="$CHICAGO$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%BenQ%
catalogfile=BenQ RD240Q.cat
DriverVer=01/10/2024,1.0.0.0


[ControlFlags]
ExcludeFromSelect.NT=Monitor\BNQ805A


[DestinationDirs]
DefaultDestDir  = 11
BenQ RD240Q_Hdmi.copyfiles = 23
BenQ RD240Q_DisplayPort.copyfiles = 23


[SourceDisksNames]
1=%diskname%,,

[SourceDisksFiles]
BenQ RD240Q.icm=1

[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


[Manufacturer]
%BenQ%=BenQ,NTx86,NTAMD64

[BenQ] 
%BenQ RD240Q_Hdmi%=BenQ RD240Q_Hdmi.Install, Monitor\BNQ805A
%BenQ RD240Q_DisplayPort%=BenQ RD240Q_DisplayPort.Install, Monitor\BNQ805A


 [BenQ.NTx86] 
%BenQ RD240Q_Hdmi%=BenQ RD240Q_Hdmi.Install, Monitor\BNQ805A
%BenQ RD240Q_DisplayPort%=BenQ RD240Q_DisplayPort.Install, Monitor\BNQ805A


 [BenQ.NTAMD64]
%BenQ RD240Q_Hdmi%=BenQ RD240Q_Hdmi.Install, Monitor\BNQ805A
%BenQ RD240Q_DisplayPort%=BenQ RD240Q_DisplayPort.Install, Monitor\BNQ805A


[BenQ RD240Q_Hdmi.Install]
DelReg=DEL_CURRENT_REG
AddReg=BenQ RD240Q_Hdmi.AddReg
CopyFiles=BenQ RD240Q_Hdmi.CopyFiles

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

[BenQ RD240Q_DisplayPort.Install]
DelReg=DEL_CURRENT_REG
AddReg=BenQ RD240Q_DisplayPort.AddReg
CopyFiles=BenQ RD240Q_DisplayPort.CopyFiles

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


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


[BenQ RD240Q_Hdmi.AddReg]
HKR,"MODES\2560,1600",Mode1,,"27-135.0,24.0-76.0,-,+"
HKR,,MaxResolution,,"2560,1600"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"BenQ RD240Q.icm"

[BenQ RD240Q_DisplayPort.AddReg]
HKR,"MODES\2560,1600",Mode1,,"27-70.0,24.0-76.0,-,+"
HKR,,MaxResolution,,"2560,1600"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"BenQ RD240Q.icm"


[BenQ RD240Q_Hdmi.CopyFiles]
BenQ RD240Q.ICM

[BenQ RD240Q_DisplayPort.CopyFiles]
BenQ RD240Q.ICM


[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
Monitor.SVCDESC = "Microsoft Monitor Class Function Driver Service"

BenQ="BenQ"
diskname="BenQ RD240Q Monitor installation diskette"

BenQ RD240Q_Hdmi="BenQ RD240Q"
BenQ RD240Q_DisplayPort="BenQ RD240Q"
