; Copyright 2023 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=24G15N.cat
DriverVer=07/10/2023,1.0.0.0

[ControlFlags]
ExcludeFromSelect.NT=monitor\AOC2415
ExcludeFromSelect.NT=monitor\AOC2415
ExcludeFromSelect.NT=monitor\AOC2415

[DestinationDirs]
DefaultDestDir=11
2415_HDMI.CopyFiles=23
2415_DP.CopyFiles=23


[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
24G15N.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,ntamd64

[AOC]
%2415_HDMI%=2415_HDMI.Install,monitor\AOC2415
%2415_DP%=2415_DP.Install,monitor\AOC2415

[AOC.ntx86]
%2415_HDMI%=2415_HDMI.Install,monitor\AOC2415
%2415_DP%=2415_DP.Install,monitor\AOC2415

[AOC.ntamd64]
%2415_HDMI%=2415_HDMI.Install,monitor\AOC2415
%2415_DP%=2415_DP.Install,monitor\AOC2415


[2415_HDMI.Install]
DelReg=DEL_CURRENT_REG
AddReg=2415_HDMI.AddReg
Copyfiles=2415_HDMI.CopyFiles

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

[2415_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=2415_DP.AddReg
Copyfiles=2415_DP.CopyFiles

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

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

[2415_HDMI.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30.0-200.0,48.0-180.0,+,+"
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"24G15N.icm" 

[2415_DP.AddReg]
HKR,"MODES\1920,1080",Mode1,,"200.0-200.0,48.0-180.0,+,+"
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"24G15N.icm"



[2415_HDMI.CopyFiles]
24G15N.icm

[2415_DP.CopyFiles]
24G15N.icm


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

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

2415_HDMI="AOC 24G15N"
2415_DP="AOC 24G15N"