;==================================================
; 40XV1CU P.inf         Version: 1.0        10/09/2021
;
; This is setup information file for monitor.
;
; Copyright (c) 2021 AOPEN Inc. All rights reserved.
;==================================================

[Version]
Signature   = "$Windows NT$"
Class       = Monitor
ClassGuid   = {4d36e96e-e325-11ce-bfc1-08002be10318}
Provider    = %AOPEN%
CatalogFile = 40XV1CU P.cat
DriverVer   = 10/09/2021, 1.0.0.0
PnpLockDown = 1

[SourceDisksNames]
1 = %DiskName%

[SourceDisksFiles]
40XV1CU P.icm = 1

[DestinationDirs]
40XV1CU P.Copyfiles = 23

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

[AOPEN]
%40XV1CU P.DP1%      = 40XV1CU P.DP1.Install, Monitor\AOP09C3
%40XV1CU P.DP2%      = 40XV1CU P.DP2.Install, Monitor\AOP09C3
%40XV1CU P.HDMI1%   = 40XV1CU P.HDMI1.Install, Monitor\AOP09C3
%40XV1CU P.HDMI2%   = 40XV1CU P.HDMI2.Install, Monitor\AOP09C3

[AOPEN.NTx86]
%40XV1CU P.DP1%      = 40XV1CU P.DP1.Install, Monitor\AOP09C3
%40XV1CU P.DP2%      = 40XV1CU P.DP2.Install, Monitor\AOP09C3
%40XV1CU P.HDMI1%   = 40XV1CU P.HDMI1.Install, Monitor\AOP09C3
%40XV1CU P.HDMI2%   = 40XV1CU P.HDMI2.Install, Monitor\AOP09C3

[AOPEN.NTamd64]
%40XV1CU P.DP1%      = 40XV1CU P.DP1.Install, Monitor\AOP09C3
%40XV1CU P.DP2%      = 40XV1CU P.DP2.Install, Monitor\AOP09C3
%40XV1CU P.HDMI1%   = 40XV1CU P.HDMI1.Install, Monitor\AOP09C3
%40XV1CU P.HDMI2%   = 40XV1CU P.HDMI2.Install, Monitor\AOP09C3

[40XV1CU P.DP1.Install]
DelReg    = DEL_CURRENT_REG
AddReg    = 40XV1CU P.DP1.AddReg, 3440, DPMS
CopyFiles = 40XV1CU P.CopyFiles

[40XV1CU P.DP2.Install]
DelReg    = DEL_CURRENT_REG
AddReg    = 40XV1CU P.DP2.AddReg, 3440, DPMS
CopyFiles = 40XV1CU P.CopyFiles

[40XV1CU P.HDMI1.Install]
DelReg    = DEL_CURRENT_REG
AddReg    = 40XV1CU P.HDMI1.AddReg, 3440, DPMS
CopyFiles = 40XV1CU P.CopyFiles

[40XV1CU P.HDMI2.Install]
DelReg    = DEL_CURRENT_REG
AddReg    = 40XV1CU P.HDMI2.AddReg, 3440, DPMS
CopyFiles = 40XV1CU P.CopyFiles

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

[40XV1CU P.DP1.AddReg]
HKR,"MODES\3440,1440",Mode1,,"71.0-214.0,48.0-144.0,+,-"
HKR,,ICMProfile,0,"40XV1CU P.icm"

[40XV1CU P.DP2.AddReg]
HKR,"MODES\3440,1440",Mode1,,"71.0-214.0,48.0-144.0,+,-"
HKR,,ICMProfile,0,"40XV1CU P.icm"

[40XV1CU P.HDMI1.AddReg]
HKR,"MODES\3440,1440",Mode1,,"71.0-214.0,48.0-120.0,+,-"
HKR,,ICMProfile,0,"40XV1CU P.icm"

[40XV1CU P.HDMI2.AddReg]
HKR,"MODES\3440,1440",Mode1,,"74.0-214.0,48.0-120.0,+,-"
HKR,,ICMProfile,0,"40XV1CU P.icm"

[3440]
HKR,,MaxResolution,,"3440,1440"

[DPMS]
HKR,,DPMS,,1

[40XV1CU P.CopyFiles]
40XV1CU P.icm

[40XV1CU P.DP1.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install

[40XV1CU P.DP2.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install

[40XV1CU P.HDMI1.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install

[40XV1CU P.HDMI2.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"
40XV1CU P.DP1                  = "AOPEN 40XV1CU P"
40XV1CU P.DP2                  = "AOPEN 40XV1CU P"
40XV1CU P.HDMI1               = "AOPEN 40XV1CU P"
40XV1CU P.HDMI2               = "AOPEN 40XV1CU P"
