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

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

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


[ControlFlags]
ExcludeFromSelect.NT=Monitor\BNQ7F87


[DestinationDirs]
DefaultDestDir  = 11
BenQ EX2710Q_Hdmi.copyfiles = 23
BenQ EX2710Q_DisplayPort.copyfiles = 23


[SourceDisksNames]
1=%diskname%,,

[SourceDisksFiles]
BenQ EX2710Q.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 EX2710Q_Hdmi%=BenQ EX2710Q_Hdmi.Install, Monitor\BNQ7F87
%BenQ EX2710Q_DisplayPort%=BenQ EX2710Q_DisplayPort.Install, Monitor\BNQ7F87


 [BenQ.NTx86] 
%BenQ EX2710Q_Hdmi%=BenQ EX2710Q_Hdmi.Install, Monitor\BNQ7F87
%BenQ EX2710Q_DisplayPort%=BenQ EX2710Q_DisplayPort.Install, Monitor\BNQ7F87


 [BenQ.NTAMD64]

%BenQ EX2710Q_Hdmi%=BenQ EX2710Q_Hdmi.Install, Monitor\BNQ7F87
%BenQ EX2710Q_DisplayPort%=BenQ EX2710Q_DisplayPort.Install, Monitor\BNQ7F87

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

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

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

[BenQ EX2710Q_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.

[BenQ EX2710Q_Hdmi.AddReg]
HKR,"MODES\2560,1440",Mode1,,"30-223.0,48.0-144.0,-,+"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfileAC,0,"BenQ EX2710Q.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, 0D710BC2-6368-4EB2-A829-CBBD45CE3BD2

[BenQ EX2710Q_DisplayPort.AddReg]
HKR,"MODES\2560,1440",Mode1,,"247-247.0,48.0-165.0,-,+"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfileAC,0,"BenQ EX2710Q.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, 0D710BC2-6368-4EB2-A829-CBBD45CE3BD2

[BenQ EX2710Q_Hdmi.CopyFiles]
BenQ EX2710Q.ICM

[BenQ EX2710Q_DisplayPort.CopyFiles]
BenQ EX2710Q.ICM



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

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

BenQ EX2710Q_Hdmi="BenQ EX2710Q"
BenQ EX2710Q_DisplayPort="BenQ EX2710Q"
