; Copyright 2025 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=CS25G.cat
DriverVer=04/11/2025,1.0.0.0
Pnplockdown=1

[ControlFlags]
ExcludeFromSelect.nt=Monitor\AOCB470


[DestinationDirs]
DefaultDestDir=11
B470_Hdmi.CopyFiles=23
B470_DP.CopyFiles=23
B470_DP_310hz.CopyFiles=23

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
CS25G.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]
%B470_Hdmi%=B470_Hdmi.Install, Monitor\AOCB470
%B470_DP%=B470_DP.Install, Monitor\AOCB470
%B470_DP%=B470_DP_310hz.Install, Monitor\AOCB470

[AOC.NTx86]
%B470_Hdmi%=B470_Hdmi.Install, Monitor\AOCB470
%B470_DP%=B470_DP.Install, Monitor\AOCB470
%B470_DP%=B470_DP_310hz.Install, Monitor\AOCB470

[AOC.ntamd64]
%B470_Hdmi%=B470_Hdmi.Install, Monitor\AOCB470
%B470_DP%=B470_DP.Install, Monitor\AOCB470
%B470_DP%=B470_DP_310hz.Install, Monitor\AOCB470

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

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

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


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

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

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

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


[B470_Hdmi.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30.0-280.0,48.0-240.0,+,+"
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"CS25G.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, 0D710BC2-6368-4EB2-A829-CBBD45CE3BD2

[B470_DP.AddReg]
HKR,"MODES\1920,1080",Mode1,,"340.0-340.0,48.0-300.0,+,+"
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"CS25G.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, 0D710BC2-6368-4EB2-A829-CBBD45CE3BD2

[B470_DP_310hz.AddReg]
HKR,"MODES\1920,1080",Mode1,,"350.0-350.0,48.0-310.0,+,+"
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"CS25G.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, 0D710BC2-6368-4EB2-A829-CBBD45CE3BD2


[B470_Hdmi.CopyFiles]
CS25G.icm
[B470_DP.CopyFiles]
CS25G.icm
[B470_DP_310hz.CopyFiles]
CS25G.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

B470_Hdmi="AOC CS25G"
B470_DP="AOC CS25G"
B470_DP_310hz="AOC CS25G"