; Copyright 2024 AOC International (Europe) GmbH
; This is a Setup information file for monitors with ICM file.


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

[ControlFlags]
ExcludeFromSelect.nt=Monitor\AOCB419


[DestinationDirs]
DefaultDestDir=11
B419_Hdmi.CopyFiles=23
B419_DP.CopyFiles=23

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
CU34G4.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]
%AOC%=AOC, NTx86,ntamd64

[AOC]
%B419_Hdmi%=B419_Hdmi.Install, Monitor\AOCB419
%B419_DP%=B419_DP.Install, Monitor\AOCB419

[AOC.NTx86]
%B419_Hdmi%=B419_Hdmi.Install, Monitor\AOCB419
%B419_DP%=B419_DP.Install, Monitor\AOCB419

[AOC.ntamd64]
%B419_Hdmi%=B419_Hdmi.Install, Monitor\AOCB419
%B419_DP%=B419_DP.Install, Monitor\AOCB419

[B419_Hdmi.Install]
DelReg=DEL_CURRENT_REG
AddReg=B419_Hdmi.AddReg
Copyfiles=B419_Hdmi.CopyFiles

[B419_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=B419_DP.AddReg
Copyfiles=B419_DP.CopyFiles


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

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

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

[B419_Hdmi.AddReg]
HKR,"MODES\3440,1440",Mode1,,"30.0-160.0,48.0-100.0,+,-"
HKR,,MaxResolution,,"3440,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,"CU34G4.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, AE040E1F-51EC-4CAC-8501-E611C3C29CFE

[B419_DP.AddReg]
HKR,"MODES\3440,1440",Mode1,,"275.0-275.0,48.0-180.0,+,-"
HKR,,MaxResolution,,"3440,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"CU34G4.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, AE040E1F-51EC-4CAC-8501-E611C3C29CFE

[B419_Hdmi.CopyFiles]
CU34G4.icm
[B419_DP.CopyFiles]
CU34G4.icm

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

AOC="AOC International (Europe) GmbH"
DiskName="AOC Monitor Installation Disk"
REG_MULTI_SZ_APPEND=0x00010008

B419_Hdmi="AOC CU34G4"
B419_DP="AOC CU34G4"