;==================================================
; 30XV1C X.inf         Version: 1.0        02/10/2022
;
; This is setup information file for monitor.
;
; Copyright (c) 2022 Aopen Inc. All rights reserved.
;==================================================

[Version]
Signature   = "$Windows NT$"
Class       = Monitor
ClassGuid   = {4d36e96e-e325-11ce-bfc1-08002be10318}
Provider    = %Aopen%
CatalogFile = 30XV1C X.cat
DriverVer   = 02/10/2022, 1.0.0.0
PnpLockDown = 1

[SourceDisksNames]
1 = %DiskName%

[SourceDisksFiles]
30XV1C X.icm = 1

[DestinationDirs]
30XV1C X.Copyfiles = 23

[Manufacturer]
%Aopen% = Aopen, NTx86, NTamd64

[Aopen]
%30XV1C X.DP1%      = 30XV1C X.DP1.Install, Monitor\AOP0A3E
%30XV1C X.HDMI1%   = 30XV1C X.HDMI1.Install, Monitor\AOP0A3E
%30XV1C X.HDMI2%   = 30XV1C X.HDMI2.Install, Monitor\AOP0A3E
%30XV1C X.HDMI3%   = 30XV1C X.HDMI3.Install, Monitor\AOP0A3E

[Aopen.NTx86]
%30XV1C X.DP1%      = 30XV1C X.DP1.Install, Monitor\AOP0A3E
%30XV1C X.HDMI1%   = 30XV1C X.HDMI1.Install, Monitor\AOP0A3E
%30XV1C X.HDMI2%   = 30XV1C X.HDMI2.Install, Monitor\AOP0A3E
%30XV1C X.HDMI3%   = 30XV1C X.HDMI3.Install, Monitor\AOP0A3E

[Aopen.NTamd64]
%30XV1C X.DP1%      = 30XV1C X.DP1.Install, Monitor\AOP0A3E
%30XV1C X.HDMI1%   = 30XV1C X.HDMI1.Install, Monitor\AOP0A3E
%30XV1C X.HDMI2%   = 30XV1C X.HDMI2.Install, Monitor\AOP0A3E
%30XV1C X.HDMI3%   = 30XV1C X.HDMI3.Install, Monitor\AOP0A3E

[30XV1C X.DP1.Install]
DelReg    = DEL_CURRENT_REG
AddReg    = 30XV1C X.DP1.AddReg, 2560, DPMS
CopyFiles = 30XV1C X.CopyFiles

[30XV1C X.HDMI1.Install]
DelReg    = DEL_CURRENT_REG
AddReg    = 30XV1C X.HDMI1.AddReg, 2560, DPMS
CopyFiles = 30XV1C X.CopyFiles

[30XV1C X.HDMI2.Install]
DelReg    = DEL_CURRENT_REG
AddReg    = 30XV1C X.HDMI2.AddReg, 2560, DPMS
CopyFiles = 30XV1C X.CopyFiles

[30XV1C X.HDMI3.Install]
DelReg    = DEL_CURRENT_REG
AddReg    = 30XV1C X.HDMI3.AddReg, 2560, DPMS
CopyFiles = 30XV1C X.CopyFiles

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

[30XV1C X.DP1.AddReg]
HKR,"MODES\2560,1080",Mode1,,"245.0-245.0,48.0-200.0,+,-"
HKR,,ICMProfile,0,"30XV1C X.icm"

[30XV1C X.HDMI1.AddReg]
HKR,"MODES\2560,1080",Mode1,,"56.0-245.0,48.0-180.0,+,-"
HKR,,ICMProfile,0,"30XV1C X.icm"

[30XV1C X.HDMI2.AddReg]
HKR,"MODES\2560,1080",Mode1,,"56.0-180.0,48.0-120.0,+,-"
HKR,,ICMProfile,0,"30XV1C X.icm"

[30XV1C X.HDMI3.AddReg]
HKR,"MODES\2560,1080",Mode1,,"56.0-180.0,48.0-120.0,+,-"
HKR,,ICMProfile,0,"30XV1C X.icm"

[2560]
HKR,,MaxResolution,,"2560,1080"

[DPMS]
HKR,,DPMS,,1

[30XV1C X.CopyFiles]
30XV1C X.icm

[30XV1C X.DP1.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install

[30XV1C X.HDMI1.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install

[30XV1C X.HDMI2.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install

[30XV1C X.HDMI3.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install

[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

[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
Monitor.SVCDESC        = "Monitor Class Function Driver Service"
Aopen                   = "Aopen Inc."
DiskName               = "Aopen Monitor Installation Disk"
30XV1C X.DP1                  = "Aopen 30XV1C X"
30XV1C X.HDMI1               = "Aopen 30XV1C X"
30XV1C X.HDMI2               = "Aopen 30XV1C X"
30XV1C X.HDMI3               = "Aopen 30XV1C X"
