;========================================== 
; BenQ EX2710U.INF
; Copyright (c) 2022, BENQ Corporation

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

[Version]
signature="$CHICAGO$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%BenQ%
catalogfile=BenQ EX2710U.cat
DriverVer=07/14/2022,2.0.0.0


[SourceDisksNames]
1=%diskname%,,,

[SourceDisksFiles]
BenQ EX2710U.icm=1


[DestinationDirs]
DefaultDestDir  = 12
BenQ EX2710U_Hdmi.copyfiles = 23
BenQ EX2710U_DisplayPort.copyfiles = 23

[ControlFlags]
ExcludeFromSelect.NT=Monitor\BNQ7FA7
ExcludeFromSelect.NT=Monitor\BNQ7FA7

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

[BenQ] 
%BenQ EX2710U_Hdmi%=BenQ EX2710U_Hdmi.Install, Monitor\BNQ7FA7
%BenQ EX2710U_DisplayPort%=BenQ EX2710U_DisplayPort.Install, Monitor\BNQ7FA7


 [BenQ.NTx86] 
%BenQ EX2710U_Hdmi%=BenQ EX2710U_Hdmi.Install, Monitor\BNQ7FA7
%BenQ EX2710U_DisplayPort%=BenQ EX2710U_DisplayPort.Install, Monitor\BNQ7FA7


 [BenQ.NTAMD64]

%BenQ EX2710U_Hdmi%=BenQ EX2710U_Hdmi.Install, Monitor\BNQ7FA7
%BenQ EX2710U_DisplayPort%=BenQ EX2710U_DisplayPort.Install, Monitor\BNQ7FA7

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


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

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

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

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


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

; This sample installs both profiles to the advanced color (AC) profile association list.
; The presence of at least one valid ICC profile in the AC association list
; will enable WCG for the display.

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

[DPMS]
HKR,,DPMS,,1

[BenQ EX2710U_Hdmi.AddReg]
HKR,"MODES\3840,2160",Mode1,,"30-255.0,48.0-120.0,-,+"
HKR,,ICMProfileAC,0,"BenQ EX2710U.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, 7134A821-9254-4AF4-9973-95B3FCF720CC, F9310F0E-93B2-4A58-8642-17358D8CB2E3

[BenQ EX2710U_DisplayPort.AddReg]
HKR,"MODES\3840,2160",Mode1,,"331.0-331.0,48.0-144.0,+,-"
HKR,,ICMProfileAC,0,"BenQ EX2710U.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, 7134A821-9254-4AF4-9973-95B3FCF720CC, F9310F0E-93B2-4A58-8642-17358D8CB2E3



[BenQ EX2710U_Hdmi.CopyFiles]
BenQ EX2710U.ICM

[BenQ EX2710U_DisplayPort.CopyFiles]
BenQ EX2710U.ICM



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

BenQ="BenQ"
diskname="BenQ EX2710U Monitor installation diskette"
REG_MULTI_SZ_APPEND=0x00010008

BenQ EX2710U_Hdmi="BenQ EX2710U"
BenQ EX2710U_DisplayPort="BenQ EX2710U"
