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

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

[DestinationDirs]
DefaultDestDir= 12
27HC5R_XZ.CopyFiles=23

[SourceDisksNames]
1=%diskname%,,,

[SourceDisksFiles]
27HC5R_XZ.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\ACR080B

 [Aopen] 
%27HC5R X/Z% = 27HC5R X/Z.Install, Monitor\ACR080B

[Aopen.NTx86]   
%27HC5R X/Z%=27HC5R X/Z.Install,Monitor\ACR080B

[Aopen.NTAMD64]   
%27HC5R X/Z%=27HC5R X/Z.Install,Monitor\ACR080B

[27HC5R X/Z.Install]   
DelReg=DEL_CURRENT_REG 
AddReg=27HC5R X/Z.AddReg
Copyfiles=27HC5R_XZ.CopyFiles

[27HC5R X/Z.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

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

[27HC5R X/Z.AddReg]  
HKR,"MODES\1920,1080",Mode1,,"30-270,48-240,+,+" 
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,PreferredMode,,"1920,1080,240"
HKR,,ICMProfile,0,"27HC5R_XZ.icm"

[27HC5R_XZ.CopyFiles]                                       
27HC5R_XZ.icm

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

Aopen="Aopen Inc."
diskname="Aopen Monitor Installation Disk"
27HC5R X/Z="Aopen 27HC5R X/Z"