; Copyright 2024 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=Q27G11E.cat
DriverVer=09/08/2024,1.0.0.0

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


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



[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
Q27G11E.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]
%2711_HDMI%=2711_HDMI.Install,monitor\AOC2711
%2711_DP%=2711_DP.Install,monitor\AOC2711

[AOC.ntx86]
%2711_HDMI%=2711_HDMI.Install,monitor\AOC2711
%2711_DP%=2711_DP.Install,monitor\AOC2711

[AOC.ntamd64]
%2711_HDMI%=2711_HDMI.Install,monitor\AOC2711
%2711_DP%=2711_DP.Install,monitor\AOC2711

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

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


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

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


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

[2711_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,"Q27G11E.icm" 
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, E55026B6-496B-4ACC-B371-A1211D829ABD


[2711_DP.AddReg]
HKR,"MODES\2560,1440",Mode1,,"270.0-270.0,48.0-180.0,+,+"
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"Q27G11E.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, E55026B6-496B-4ACC-B371-A1211D829ABD


[2711_HDMI.CopyFiles]
Q27G11E.icm

[2711_DP.CopyFiles]
Q27G11E.icm


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

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

2711_HDMI="AOC Q27G11E"
2711_DP="AOC Q27G11E"
REG_MULTI_SZ_APPEND = 0x00010008