; Copyright 2021 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=AG493US3R4.cat
DriverVer=08/05/2021,1.0.0.0

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


[DestinationDirs]
DefaultDestDir=11
A301_HDMI.CopyFiles=23
A301_DP2(Type-c).CopyFiles=23
A301_DP.CopyFiles=23

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
AG493US3R4.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]
%A301_HDMI%=A301_HDMI.Install, Monitor\AOCA301
%A301_DP2(Type-c)%=A301_DP2(Type-c).Install, Monitor\AOCA301
%A301_DP%=A301_DP.Install, Monitor\AOCA301

[AOC.ntamd64]
%A301_HDMI%=A301_HDMI.Install, Monitor\AOCA301
%A301_DP2(Type-c)%=A301_DP2(Type-c).Install, Monitor\AOCA301
%A301_DP%=A301_DP.Install, Monitor\AOCA301


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

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

[A301_DP2(Type-c).Install]
DelReg=DEL_CURRENT_REG
AddReg=A301_DP2(Type-c).AddReg
Copyfiles=A301_DP2(Type-c).CopyFiles

[A301_DP2(Type-c).Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

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

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


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

[A301_HDMI.AddReg]
HKR,"MODES\3840,1080",Mode1,,"30.0-200.0,48.0-120.0,+,+"
HKR,,MaxResolution,,"3840,1080"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"AG493US3R4.icm"


[A301_DP2(Type-c).AddReg]
HKR,"MODES\3840,1080",Mode1,,"30.0-250.0,48.0-165.0,+,+"
HKR,,MaxResolution,,"3840,1080"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"AG493US3R4.icm"


[A301_DP.AddReg]
HKR,"MODES\3840,1080",Mode1,,"250.0-250.0,48.0-165.0,+,+"
HKR,,MaxResolution,,"3840,1080"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"AG493US3R4.icm"

[A301_HDMI.CopyFiles]
AG493US3R4.icm

[A301_DP2(Type-c).CopyFiles]
AG493US3R4.icm

[A301_DP.CopyFiles]
AG493US3R4.icm


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

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

A301_HDMI="AOC AG493US3R4"
A301_DP2(Type-c)="AOC AG493US3R4"
A301_DP="AOC AG493US3R4"