; ------------------------------------------------
; Copyright (c) 2022 BENQ Corporation
; Issue date -- 04/20/2022
; revision 1
; This is a setupfile for EX240N
; ------------------------------------------------
;

[Version]
signature="$CHICAGO$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%BenQ%
CatalogFile=EX240N.cat
DriverVer=04/20/2022,1.0.0.0

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
EX240N.icm=1

[DestinationDirs]
DefaultDestDir  = 12
EX240N.copyfiles = 23


[ControlFlags]
ExcludeFromSelect.NT=Monitor\BNQ7FCC


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

[BenQ]
%EX240N%=EX240N.Install, Monitor\BNQ7FCC

[BenQ.NTx86]
%EX240N%=EX240N.Install, Monitor\BNQ7FCC

[BenQ.NTAMD64]
%EX240N%=EX240N.Install, Monitor\BNQ7FCC


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


[EX240N.Install]
DelReg=DEL_CURRENT_REG
AddReg=EX240N.AddReg, 1920, DPMS
CopyFiles=EX240N.CopyFiles


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

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

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

[DPMS]
HKR,,DPMS,,1

[EX240N.AddReg]
HKR,"MODES\1920,1080",Mode1,,"185.0-185.0,48.0-165.0,+,-"
HKR,,ICMProfile,0,"EX240N.icm"


[EX240N.CopyFiles]
EX240N.icm


[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002

BenQ="BenQ"
DiskName="BenQ Monitor installation disk"
EX240N="BenQ EX240N"

