; ------------------------------------------------
; Copyright (c) 2022 BENQ Corporation
; Issue date -- 10/21/2022
; revision 1
; This is a setupfile for PD2706UA
; ------------------------------------------------
;

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

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
PD2706UA.icm=1

[DestinationDirs]
DefaultDestDir  = 12
PD2706UA.copyfiles = 23


[ControlFlags]
ExcludeFromSelect.NT=Monitor\BNQ804C


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

[BenQ]
%PD2706UA%=PD2706UA.Install, Monitor\BNQ804C

[BenQ.NTx86]
%PD2706UA%=PD2706UA.Install, Monitor\BNQ804C

[BenQ.NTAMD64]
%PD2706UA%=PD2706UA.Install, Monitor\BNQ804C


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


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


[PD2706UA.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

[PD2706UA.AddReg]
HKR,"MODES\3840,2160",Mode1,,"27.0-135.0,24.0-76.0,+,-"
HKR,,ICMProfile,0,"PD2706UA.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, 0D710BC2-6368-4EB2-A829-CBBD45CE3BD2

[PD2706UA.CopyFiles]
PD2706UA.icm


[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002

BenQ="BenQ"
DiskName="BenQ Monitor installation disk"
PD2706UA="BenQ PD2706UA"

REG_MULTI_SZ_APPEND=0x00010008