; Copyright 2024  ASROCK Corporation
; This is a Setup information file for monitors with ICM file.


[Version]
signature="$CHICAGO$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%ASR%
Catalogfile=PGO32UFS.cat
DriverVer=01/17/2025,1.0.0.0

[ControlFlags]
ExcludeFromSelect.NT=monitor\ASRADA0
ExcludeFromSelect.NT=monitor\ASRADA0
ExcludeFromSelect.NT=monitor\ASRADA0

[DestinationDirs]
DefaultDestDir=11
ADA0_HDMI.CopyFiles=23
ADA0_DP.CopyFiles=23
ADA0_TypeC.CopyFiles=23

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
PGO32UFS.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]
%ASR%=ASR,ntamd64

[ASR]
%ADA0_HDMI%=ADA0_HDMI.Install,monitor\ASRADA0
%ADA0_DP%=ADA0_DP.Install,monitor\ASRADA0
%ADA0_TypeC%=ADA0_TypeC.Install,monitor\ASRADA0

[ASR.ntx86]
%ADA0_HDMI%=ADA0_HDMI.Install,monitor\ASRADA0
%ADA0_DP%=ADA0_DP.Install,monitor\ASRADA0
%ADA0_TypeC%=ADA0_TypeC.Install,monitor\ASRADA0

[ASR.ntamd64]
%ADA0_HDMI%=ADA0_HDMI.Install,monitor\ASRADA0
%ADA0_DP%=ADA0_DP.Install,monitor\ASRADA0
%ADA0_TypeC%=ADA0_TypeC.Install,monitor\ASRADA0

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

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

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

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

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

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

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

[ADA0_HDMI.AddReg]
HKR,"MODES\3840,2160",Mode1,,"30.0-255.0,48.0-240.0,+,+"
HKR,,MaxResolution,,"3840,2160"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"PGO32UFS.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, FB4CB49B-F5A8-4084-800C-EB38E9CA16DE

[ADA0_DP.AddReg]
HKR,"MODES\3840,2160",Mode1,,"255.0-255.0,48.0-240.0,+,+"
HKR,,MaxResolution,,"3840,2160"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"PGO32UFS.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, FB4CB49B-F5A8-4084-800C-EB38E9CA16DE

[ADA0_TypeC.AddReg]
HKR,"MODES\3840,2160",Mode1,,"255.0-255.0,48.0-240.0,+,+"
HKR,,MaxResolution,,"3840,2160"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"PGO32UFS.icm"
HKR,,DisplayHdrLevel, %REG_MULTI_SZ_APPEND%, FB4CB49B-F5A8-4084-800C-EB38E9CA16DE

[ADA0_HDMI.CopyFiles]
PGO32UFS.icm

[ADA0_DP.CopyFiles]
PGO32UFS.icm

[ADA0_TypeC.CopyFiles]
PGO32UFS.icm

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

ASR="ASROCK"
DiskName="ASROCK PGO32UFS Wizard"

ADA0_HDMI="ASROCK PGO32UFS"
ADA0_DP="ASROCK PGO32UFS"
ADA0_TypeC="ASROCK PGO32UFS"
REG_MULTI_SZ_APPEND = 0x00010008