; Copyright 2018 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=Q27G2G4.cat
DriverVer=07/13/2019,1.0.0.0

[ControlFlags]
ExcludeFromSelect.nt=Monitor\AOC2702


[DestinationDirs]
DefaultDestDir=11
2702_Hdmi.CopyFiles=23
2702_DP.CopyFiles=23

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
Q27G2G4.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]
%2702_Hdmi%=2702_Hdmi.Install, Monitor\AOC2702
%2702_DP%=2702_DP.Install, Monitor\AOC2702

[AOC.ntamd64]
%2702_Hdmi%=2702_Hdmi.Install, Monitor\AOC2702
%2702_DP%=2702_DP.Install, Monitor\AOC2702

[2702_Hdmi.Install]
DelReg=DEL_CURRENT_REG
AddReg=2702_Hdmi.AddReg
Copyfiles=2702_Hdmi.CopyFiles

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


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

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

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

[2702_Hdmi.AddReg]
HKR,"MODES\2560,1440",Mode1,,"30.0-230.0,48.0-144.0,+,+"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"Q27G2G4.icm"

[2702_DP.AddReg]
HKR,"MODES\2560,1440",Mode1,,"230.0-230.0,48.0-144.0,+,+"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"Q27G2G4.icm"


[2702_Hdmi.CopyFiles]
Q27G2G4.icm
[2702_DP.CopyFiles]
Q27G2G4.icm

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

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

2702_Hdmi="AOC Q27G2G4"
2702_DP="AOC Q27G2G4"