; 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=U34G2G4R3.cat
DriverVer=09/24/2019,1.0.0.0

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

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

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
U34G2G4R3.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]
%3402_HDMI%=3402_HDMI.Install, Monitor\AOC3402
%3402_DP%=3402_DP.Install, Monitor\AOC3402

[AOC.ntamd64]
%3402_HDMI%=3402_HDMI.Install, Monitor\AOC3402
%3402_DP%=3402_DP.Install, Monitor\AOC3402


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

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

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

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


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

[3402_HDMI.AddReg]
HKR,"MODES\3440,1440",Mode1,,"30.0-170.0,48.0-100.0,+,+"
HKR,,MaxResolution,,"3440,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"U34G2G4R3.icm"

[3402_DP.AddReg]
HKR,"MODES\3440,1440",Mode1,,"220.0-220.0,48.0-144.0,+,+"
HKR,,MaxResolution,,"3440,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"U34G2G4R3.icm"

[3402_HDMI.CopyFiles]
U34G2G4R3.icm

[3402_DP.CopyFiles]
U34G2G4R3.icm


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

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

3402_HDMI="AOC U34G2G4R3"
3402_DP="AOC U34G2G4R3"