;========================================== 
; This is a Setup information file for monitors  with ICM  file; 
; Copyright 2024 AsRock  Electronics Co.
;==========================================
 
[version]
signature="$CHICAGO$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%ASROCK%
CatalogFile=PG27FFS.cat   
DriverVer=07/18/2025,1.0.0.0

[ControlFlags]

ExcludeFromSelect.nt=Monitor\ASRACB2
ExcludeFromSelect.nt=Monitor\ASRACB2

[DestinationDirs]
DefaultDestDir=11
PG27FFS_HDMI.CopyFiles=23
PG27FFS_DP.CopyFiles=23

[SourceDisksNames]
1=%DiskName%,,

[SourceDisksFiles]
PG27FFS.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]
%ASROCK%=ASROCK,NTx86, NTamd64

[ASROCK]
%PG27FFS_HDMI%=PG27FFS_HDMI.Install, Monitor\ASRACB2
%PG27FFS_DP%=PG27FFS_DP.Install, Monitor\ASRACB2

[ASROCK.NTx86]
%PG27FFS_HDMI%=PG27FFS_HDMI.Install, Monitor\ASRACB2
%PG27FFS_DP%=PG27FFS_DP.Install, Monitor\ASRACB2


[ASROCK.NTamd64]
%PG27FFS_HDMI%=PG27FFS_HDMI.Install, Monitor\ASRACB2
%PG27FFS_DP%=PG27FFS_DP.Install, Monitor\ASRACB2

[PG27FFS_HDMI.Install]
DelReg=DEL_CURRENT_REG
AddReg=PG27FFS_HDMI.AddReg
Copyfiles=PG27FFS_HDMI.CopyFiles

[PG27FFS_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=PG27FFS_DP.AddReg
Copyfiles=PG27FFS_DP.CopyFiles


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

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



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


[PG27FFS_HDMI.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30.0-288.0,50.0-240.0,+,-"
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"PG27FFS.icm"


[PG27FFS_DP.AddReg]
HKR,"MODES\1920,1080",Mode1,,"288.0-288.0,50.0-240.0,+,-"
HKR,,MaxResolution,,"1920,1080"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"PG27FFS.icm"


[PG27FFS_HDMI.CopyFiles]
PG27FFS.icm

[PG27FFS_DP.CopyFiles]
PG27FFS.icm



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

ASROCK="ASROCK"
Diskname="ASROCK PG27FFS Monitor installation diskette"

PG27FFS_HDMI="PG27FFS"
PG27FFS_DP="PG27FFS"