;================================ 
;MPG321UR-QD.INF 08/11/2021 Ver. 1.0
;Copyright 2017-2021 MSI Inc.
;This is a Microsoft Windows setup information file for the MSI Color Monitor.
;================================
 
[version]
signature="$CHICAGO$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%MSI%
CatalogFile=MPG321UR-QD.cat
DriverVer=08/11/2021,1.0.0.0

[ControlFlags]
ExcludeFromSelect.nt=Monitor\MSI3DC0

[DestinationDirs]
DefaultDestDir=11
3DC0_DP.CopyFiles=23
3DC0_HDMI.CopyFiles=23

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
MPG321UR-QD.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]
%MSI%=MSI, NTx86, NTia64, NTamd64

[MSI]
%3DC0_DP%=3DC0_DP.Install, Monitor\MSI3DC0
%3DC0_HDMI%=3DC0_HDMI.Install, Monitor\MSI3DC0

[MSI.NTx86]
%3DC0_DP%=3DC0_DP.Install, Monitor\MSI3DC0
%3DC0_HDMI%=3DC0_HDMI.Install, Monitor\MSI3DC0

[MSI.NTia64]
%3DC0_DP%=3DC0_DP.Install, Monitor\MSI3DC0
%3DC0_HDMI%=3DC0_HDMI.Install, Monitor\MSI3DC0

[MSI.NTamd64]
%3DC0_DP%=3DC0_DP.Install, Monitor\MSI3DC0
%3DC0_HDMI%=3DC0_HDMI.Install, Monitor\MSI3DC0

[3DC0_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=3DC0_DP.AddReg
Copyfiles=3DC0_DP.CopyFiles

[3DC0_HDMI.Install]
DelReg=DEL_CURRENT_REG
AddReg=3DC0_HDMI.AddReg
Copyfiles=3DC0_HDMI.CopyFiles


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

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


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

[3DC0_DP.AddReg]
HKR,"MODES\3840,2160",Mode1,,"334.0-334.0,48.0-144.0,+,+"
HKR,,MaxResolution,,"3840,2160"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"MPG321UR-QD.icm"

[3DC0_HDMI.AddReg]
HKR,"MODES\3840,2160",Mode1,,"30.0-334.0,48.0-144.0,+,+"
HKR,,MaxResolution,,"3840,2160"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"MPG321UR-QD.icm"


[3DC0_DP.CopyFiles]
MPG321UR-QD.icm

[3DC0_HDMI.CopyFiles]
MPG321UR-QD.icm

[Strings]

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

DiskName="MSI Monitor Installation Disk"
MSI="MSI Computer Inc."


3DC0_DP="MSI Optix MPG321UR-QD"
3DC0_HDMI="MSI Optix MPG321UR-QD"