;Monitor.Inf for Windows(R) 7 x86/x64, 8 x86/x64, 10 x86/x64
;Copyright 2020 AOPEN Inc., All rights reserved.

[Version]   
CatalogFile=27XC1UR_P.cat  
signature="$Windows NT$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%AOPEN%
DriverVer=05/12/2020, 1.0.0.0

[DestinationDirs]
DefaultDestDir= 12
27XC1UR P.CopyFiles=23

[SourceDisksNames]
1=%diskname%,,

[SourceDisksFiles]
27XC1UR_P.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]
%AOPEN%=AOPEN,NTx86,NTAMD64

[ControlFlags]
ExcludeFromSelect.nt=Monitor\AOP0810

 [AOPEN] 
%27XC1UR_Series_DP%=27XC1UR_Series_DP.Install,Monitor\AOP0810
%27XC1UR_Series_HDMI_20%=27XC1UR_Series_HDMI_20.Install,Monitor\AOP0810

[AOPEN.NTx86]   
%27XC1UR_Series_DP%=27XC1UR_Series_DP.Install,Monitor\AOP0810
%27XC1UR_Series_HDMI_20%=27XC1UR_Series_HDMI_20.Install,Monitor\AOP0810

[AOPEN.NTAMD64]   
%27XC1UR_Series_DP%=27XC1UR_Series_DP.Install,Monitor\AOP0810
%27XC1UR_Series_HDMI_20%=27XC1UR_Series_HDMI_20.Install,Monitor\AOP0810

[27XC1UR_Series_HDMI_20.Install]   
DelReg=DEL_CURRENT_REG 
AddReg=27XC1UR_Series_HDMI_20.AddReg
Copyfiles=27XC1UR_Series.CopyFiles

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

[27XC1UR_Series_DP.Install]   
DelReg=DEL_CURRENT_REG 
AddReg=27XC1UR_Series_DP.AddReg
Copyfiles=27XC1UR_Series.CopyFiles

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

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

[27XC1UR_Series_HDMI_20.AddReg]  
HKR,"MODES\2560,1440",Mode1,,"30-246,48-144,+,+" 
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,PreferredMode,,"2560,1440,144"
HKR,,ICMProfile,0,"27XC1UR_P.icm"

[27XC1UR_Series_DP.AddReg]  
HKR,"MODES\2560,1440",Mode1,,"30-246,48-165,+,+" 
HKR,,MaxResolution,,"2560,1440"
HKR,,DPMS,,1
HKR,,PreferredMode,,"2560,1440,165"
HKR,,ICMProfile,0,"27XC1UR_P.icm"

[27XC1UR_Series.CopyFiles]                                       
27XC1UR_P.icm

[Strings]

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

AOPEN="AOPEN Inc."
diskname="AOPEN 27XC1UR P Series Wizard"
27XC1UR_Series_DP="AOPEN 27XC1UR P Series"
27XC1UR_Series_HDMI_20="AOPEN 27XC1UR P Series"