; ------------------------------------------------
; Copyright (c) 2024 BENQ Corporation
; Issue date -- 07/02/2024
; revision 1
; This is a setupfile for MA320U
; ------------------------------------------------
;

[Version]
signature="$CHICAGO$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%BENQ%
CatalogFile=BenQ MA320U.cat
DriverVer=07/02/2024,1.0.0.0

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
MA320U.icm=1

[DestinationDirs]
DefaultDestDir  = 12
MA320U.copyfiles = 23


[ControlFlags]
ExcludeFromSelect.NT=Monitor\BNQ8075


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

[BENQ]
%MA320U%=MA320U.Install, Monitor\BNQ8075

[BENQ.NTx86]
%MA320U%=MA320U.Install, Monitor\BNQ8075

[BENQ.NTAMD64]
%MA320U%=MA320U.Install, Monitor\BNQ8075


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


[MA320U.Install]
DelReg=DEL_CURRENT_REG
AddReg=MA320U.AddReg, 3840, DPMS
CopyFiles=MA320U.CopyFiles


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

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

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

[DPMS]
HKR,,DPMS,,1

[MA320U.AddReg]
HKR,"MODES\3840,2160",Mode1,,"27.0-135.0,27.0-76.0,-,+"
HKR,,ICMProfile,0,"MA320U.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, 7134A821-9254-4AF4-9973-95B3FCF720CC

[MA320U.CopyFiles]
MA320U.icm


[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002

BENQ="BENQ"
DiskName="BENQ Monitor installation disk"
MA320U="BENQ MA320U"

REG_MULTI_SZ_APPEND=0x00010008

