;========================================== 
; BenQ EW3290U.INF
; Copyright (c) 2024, BENQ Corporation

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

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


[ControlFlags]
ExcludeFromSelect.NT=Monitor\BNQ7965



[DestinationDirs]
DefaultDestDir  = 11
BenQ EW3290U_Hdmi.copyfiles = 23
BenQ EW3290U_DisplayPort.copyfiles = 23

[SourceDisksNames]
1=%diskname%,,

[SourceDisksFiles]
BenQ EW3290U.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 EW3290U_Hdmi%=BenQ EW3290U_Hdmi.Install, Monitor\BNQ7965
%BenQ EW3290U_DisplayPort%=BenQ EW3290U_DisplayPort.Install, Monitor\BNQ7965

 [BenQ.NTx86] 
%BenQ EW3290U_Hdmi%=BenQ EW3290U_Hdmi.Install, Monitor\BNQ7965
%BenQ EW3290U_DisplayPort%=BenQ EW3290U_DisplayPort.Install, Monitor\BNQ7965

 [BenQ.NTAMD64]
%BenQ EW3290U_Hdmi%=BenQ EW3290U_Hdmi.Install, Monitor\BNQ7965
%BenQ EW3290U_DisplayPort%=BenQ EW3290U_DisplayPort.Install, Monitor\BNQ7965


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

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

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

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


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

[BenQ EW3290U_Hdmi.AddReg]
HKR,"MODES\3840,2160",Mode1,,"27-160.0,24.0-76.0,+,-"
HKR,,MaxResolution,,"3840,2160"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"BenQ EW3290U.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, 0D710BC2-6368-4EB2-A829-CBBD45CE3BD2

[BenQ EW3290U_DisplayPort.AddReg]
HKR,"MODES\3840,2160",Mode1,,"27-160.0,24.0-76.0,+,-"
HKR,,MaxResolution,,"3840,2160"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"BenQ EW3290U.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, 0D710BC2-6368-4EB2-A829-CBBD45CE3BD2


[BenQ EW3290U_Hdmi.CopyFiles]
BenQ EW3290U.ICM

[BenQ EW3290U_DisplayPort.CopyFiles]
BenQ EW3290U.ICM

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

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

BenQ EW3290U_Hdmi="BenQ EW3290U"
BenQ EW3290U_DisplayPort="BenQ EW3290U"
