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

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

[DestinationDirs]
DefaultDestDir= 12
32HC5QR_X.CopyFiles=23

[SourceDisksNames]
1=%diskname%,,,

[SourceDisksFiles]
32HC5QR_X.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] 
%32HC5QR_X% = 32HC5QR_X.Install, Monitor\ACR080B

[AOPEN.NTx86]   
%32HC5QR_X%=32HC5QR_X.Install,Monitor\ACR080B

[AOPEN.NTAMD64]   
%32HC5QR_X%=32HC5QR_X.Install,Monitor\ACR080B

[32HC5QR_X.Install]   
DelReg=DEL_CURRENT_REG 
AddReg=32HC5QR_X.AddReg
Copyfiles=32HC5QR_X.CopyFiles

[32HC5QR_X.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install

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

[32HC5QR_X.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,"32HC5QR_X.icm"

[32HC5QR_X.CopyFiles]                                       
32HC5QR_X.icm

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

AOPEN="AOPEN Inc."
diskname="AOPEN Monitor Installation Disk"
32HC5QR_X="AOPEN 32HC5QR X"