; Copyright 2019 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=24G2W1G5.cat
DriverVer=08/15/2019,1.0.0.0

[ControlFlags]
ExcludeFromSelect.nt=Monitor\AOC2402
ExcludeFromSelect.nt=Monitor\AOC2402
ExcludeFromSelect.nt=Monitor\AOC2402
ExcludeFromSelect.nt=Monitor\AOC2402

[DestinationDirs]
DefaultDestDir=11
2402_Analog.CopyFiles=23
2402_HDMI1.CopyFiles=23
2402_HDMI2.CopyFiles=23
2402_DP.CopyFiles=23

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
24G2W1G5.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]
%2402_Analog%=2402_Analog.Install, Monitor\AOC2402
%2402_HDMI1%=2402_HDMI1.Install, Monitor\AOC2402
%2402_HDMI2%=2402_HDMI2.Install, Monitor\AOC2402
%2402_DP%=2402_DP.Install, Monitor\AOC2402

[AOC.ntamd64]
%2402_Analog%=2402_Analog.Install, Monitor\AOC2402
%2402_HDMI1%=2402_HDMI1.Install, Monitor\AOC2402
%2402_HDMI2%=2402_HDMI2.Install, Monitor\AOC2402
%2402_DP%=2402_DP.Install, Monitor\AOC2402

[2402_Analog.Install]
DelReg=DEL_CURRENT_REG
AddReg=2402_Analog.AddReg
Copyfiles=2402_Analog.CopyFiles

[2402_HDMI1.Install]
DelReg=DEL_CURRENT_REG
AddReg=2402_HDMI1.AddReg
Copyfiles=2402_HDMI1.CopyFiles

[2402_HDMI2.Install]
DelReg=DEL_CURRENT_REG
AddReg=2402_HDMI2.AddReg
Copyfiles=2402_HDMI2.CopyFiles

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

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

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

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

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

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

[2402_Analog.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30.0-85.0,48.0-75.0,+,+"
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"24G2W1G5.icm"

[2402_HDMI1.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30.0-85.0,48.0-75.0,+,+"
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"24G2W1G5.icm"

[2402_HDMI2.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30.0-85.0,48.0-75.0,+,+"
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"24G2W1G5.icm"

[2402_DP.AddReg]
HKR,"MODES\1920,1080",Mode1,,"85.0-85.0,48.0-75.0,+,+"
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"24G2W1G5.icm"


[2402_Analog.CopyFiles]
24G2W1G5.icm
[2402_HDMI1.CopyFiles]
24G2W1G5.icm
[2402_HDMI2.CopyFiles]
24G2W1G5.icm
[2402_DP.CopyFiles]
24G2W1G5.icm

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

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

2402_Analog="AOC 24G2W1G5"
2402_HDMI1="AOC 24G2W1G5"
2402_HDMI2="AOC 24G2W1G5"
2402_DP="AOC 24G2W1G5"