;================================ 
;MEG381CQR +.INF 06/07/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=MEG381CQR +.cat
DriverVer=06/07/2021,1.0.0.0

[ControlFlags]
ExcludeFromSelect.nt=Monitor\MSI3EA4

[DestinationDirs]
DefaultDestDir=11
3EA4_DP.CopyFiles=23
3EA4_HDMI.CopyFiles=23

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
MEG381CQR +.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]
%3EA4_DP%=3EA4_DP.Install, Monitor\MSI3EA4
%3EA4_HDMI%=3EA4_HDMI.Install, Monitor\MSI3EA4

[MSI.NTx86]
%3EA4_DP%=3EA4_DP.Install, Monitor\MSI3EA4
%3EA4_HDMI%=3EA4_HDMI.Install, Monitor\MSI3EA4

[MSI.NTia64]
%3EA4_DP%=3EA4_DP.Install, Monitor\MSI3EA4
%3EA4_HDMI%=3EA4_HDMI.Install, Monitor\MSI3EA4

[MSI.NTamd64]
%3EA4_DP%=3EA4_DP.Install, Monitor\MSI3EA4
%3EA4_HDMI%=3EA4_HDMI.Install, Monitor\MSI3EA4

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

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


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

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


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

[3EA4_DP.AddReg]
HKR,"MODES\3840,1600",Mode1,,"255.0-255.0,1.0-175.0,+,+"
HKR,,MaxResolution,,"3840,1600"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"MEG381CQR +.icm"

[3EA4_HDMI.AddReg]
HKR,"MODES\3840,1600",Mode1,,"30.0-141.0,24.0-120.0,+,+"
HKR,,MaxResolution,,"3840,1600"
HKR,,DPMS,,1
HKR,,ICMProfile,0,"MEG381CQR +.icm"


[3EA4_DP.CopyFiles]
MEG381CQR +.icm

[3EA4_HDMI.CopyFiles]
MEG381CQR +.icm

[Strings]

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

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


3EA4_DP="MSI Optix MEG381CQR Plus"
3EA4_HDMI="MSI Optix MEG381CQR Plus"