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

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

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

[ControlFlags]
ExcludeFromSelect.NT=Monitor\BNQ8077

[DestinationDirs]
DefaultDestDir  = 11
BenQ PD3226G_Hdmi.copyfiles = 23
BenQ PD3226G_DisplayPort.copyfiles = 23
BenQ PD3226G_TBT4.copyfiles = 23

[SourceDisksNames]
1=%diskname%,,

[SourceDisksFiles]
BenQ PD3226G.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 PD3226G_Hdmi%=BenQ PD3226G_Hdmi.Install, Monitor\BNQ8077
%BenQ PD3226G_DisplayPort%=BenQ PD3226G_DisplayPort.Install, Monitor\BNQ8077
%BenQ PD3226G_TBT4%=BenQ PD3226G_TBT4.Install, Monitor\BNQ8077

[BenQ.NTx86] 
%BenQ PD3226G_Hdmi%=BenQ PD3226G_Hdmi.Install, Monitor\BNQ8077
%BenQ PD3226G_DisplayPort%=BenQ PD3226G_DisplayPort.Install, Monitor\BNQ8077
%BenQ PD3226G_TBT4%=BenQ PD3226G_TBT4.Install, Monitor\BNQ8077

 [BenQ.NTAMD64]
%BenQ PD3226G_Hdmi%=BenQ PD3226G_Hdmi.Install, Monitor\BNQ8077
%BenQ PD3226G_DisplayPort%=BenQ PD3226G_DisplayPort.Install, Monitor\BNQ8077
%BenQ PD3226G_TBT4%=BenQ PD3226G_TBT4.Install, Monitor\BNQ8077

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

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

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

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

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

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


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


[BenQ PD3226G_Hdmi.AddReg]
HKR,"MODES\3840,2160",Mode1,,"27.0-255.0,48.0-144.0,-,+"
HKR,,MaxResolution,,"3840,2160"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"BenQ PD3226G.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, 0D710BC2-6368-4EB2-A829-CBBD45CE3BD2

[BenQ PD3226G_DisplayPort.AddReg]
HKR,"MODES\3840,2160",Mode1,,"326.0-326.0,48.0-144.0,-,+"
HKR,,MaxResolution,,"3840,2160"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"BenQ PD3226G.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, 0D710BC2-6368-4EB2-A829-CBBD45CE3BD2

[BenQ PD3226G_TBT4.AddReg]
HKR,"MODES\3840,2160",Mode1,,"326.0-326.0,48.0-144.0,-,+"
HKR,,MaxResolution,,"3840,2160"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"BenQ PD3226G.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, 0D710BC2-6368-4EB2-A829-CBBD45CE3BD2

[BenQ PD3226G_Hdmi.CopyFiles]
BenQ PD3226G.ICM

[BenQ PD3226G_DisplayPort.CopyFiles]
BenQ PD3226G.ICM

[BenQ PD3226G_TBT4.CopyFiles]
BenQ PD3226G.ICM


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

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

BenQ PD3226G_Hdmi="BenQ PD3226G"
BenQ PD3226G_DisplayPort="BenQ PD3226G"
BenQ PD3226G_TBT4="BenQ PD3226G"