; 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=AG346UCD.cat
DriverVer=09/06/2024,1.0.0.0

[ControlFlags]
ExcludeFromSelect.nt=Monitor\AOCA612


[DestinationDirs]
DefaultDestDir=11
A612_Hdmi.CopyFiles=23
A612_DP.CopyFiles=23

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
AG346UCD.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]
%A612_Hdmi%=A612_Hdmi.Install, Monitor\AOCA612
%A612_DP%=A612_DP.Install, Monitor\AOCA612

[AOC.NTx86]
%A612_Hdmi%=A612_Hdmi.Install, Monitor\AOCA612
%A612_DP%=A612_DP.Install, Monitor\AOCA612

[AOC.ntamd64]
%A612_Hdmi%=A612_Hdmi.Install, Monitor\AOCA612
%A612_DP%=A612_DP.Install, Monitor\AOCA612

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

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


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

[A612_DP.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.

[A612_Hdmi.AddReg]
HKR,"MODES\3440,1440",Mode1,,"30.0-185.0,48.0-120.0,+,-"
HKR,,MaxResolution,,"3440,1440"
HKR,,DPMS,,1
HKR,,ICMProfileAC,0,"AG346UCD.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, 0D710BC2-6368-4EB2-A829-CBBD45CE3BD2, AE040E1F-51EC-4CAC-8501-E611C3C29CFE

[A612_DP.AddReg]
HKR,"MODES\3440,1440",Mode1,,"285.0-285.0,48.0-175.0,+,-"
HKR,,MaxResolution,,"3440,1440"
HKR,,DPMS,,1
HKR,,ICMProfileAC,0,"AG346UCD.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, 0D710BC2-6368-4EB2-A829-CBBD45CE3BD2, AE040E1F-51EC-4CAC-8501-E611C3C29CFE

[A612_Hdmi.CopyFiles]
AG346UCD.icm
[A612_DP.CopyFiles]
AG346UCD.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

A612_Hdmi="AOC AG346UCD"
A612_DP="AOC AG346UCD"