; ################################################################
;
;   OMEN_27u_HDR.inf        
;
;   Ver. 1.0.0.0
;
;   Copyright (c)2021, HP Development Company, L.P.
;   All Rights Reserved
;
;   This is a Microsoft Windows x86/x64 setup information file
;   for the OMEN 27u 4K 144Hz HDR IPS Gaming Monitor.
; 
; ################################################################

[Version]
signature="$WINDOWS NT$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%HP%
CatalogFile=OMEN_27u_HDR.cat
DriverVer=09/13/2021,1.0.0.0
PnpLockDown=1

[ControlFlags]
ExcludeFromSelect = MONITOR\HPN374C
ExcludeFromSelect = MONITOR\HPN374E
ExcludeFromSelect = MONITOR\HPN374F

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
OMEN_27u_HDR.icm=1

[DestinationDirs]
DefaultDestDir=12
OMEN_27u_HDR.CopyFiles=23

[Manufacturer]
%HP%=HP,NTx86,NTamd64

[HP]
%OMEN_27u_HDR_DP%=OMEN_27u_HDR_DP.Install, Monitor\HPN374C
%OMEN_27u_HDR_H21%=OMEN_27u_HDR_H21.Install, Monitor\HPN374E
%OMEN_27u_HDR_H20%=OMEN_27u_HDR_H20.Install, Monitor\HPN374F

[HP.NTx86]
%OMEN_27u_HDR_DP%=OMEN_27u_HDR_DP.Install, Monitor\HPN374C
%OMEN_27u_HDR_H21%=OMEN_27u_HDR_H21.Install, Monitor\HPN374E
%OMEN_27u_HDR_H20%=OMEN_27u_HDR_H20.Install, Monitor\HPN374F

[HP.NTamd64]
%OMEN_27u_HDR_DP%=OMEN_27u_HDR_DP.Install, Monitor\HPN374C
%OMEN_27u_HDR_H21%=OMEN_27u_HDR_H21.Install, Monitor\HPN374E
%OMEN_27u_HDR_H20%=OMEN_27u_HDR_H20.Install, Monitor\HPN374F

[OMEN_27u_HDR_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=OMEN_27u_HDR_DP.AddReg, 3840, DPMS
CopyFiles=OMEN_27u_HDR.CopyFiles

[OMEN_27u_HDR_H21.Install]
DelReg=DEL_CURRENT_REG
AddReg=OMEN_27u_HDR_H21.AddReg, 3840, DPMS
CopyFiles=OMEN_27u_HDR.CopyFiles

[OMEN_27u_HDR_H20.Install]
DelReg=DEL_CURRENT_REG
AddReg=OMEN_27u_HDR_H20.AddReg, 3840, DPMS
CopyFiles=OMEN_27u_HDR.CopyFiles

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

[3840]
HKR,,MaxResolution,,"3840,2160"

[DPMS]
HKR,,DPMS,,1

[OMEN_27u_HDR_DP.AddReg]
HKR,"MODES\3840,2160",Mode1,,"336-336,48-144,+,-"
HKR,,PreferredMode,,"3840,2160,60"
HKR,,ICMProfile,0,"OMEN_27u_HDR.icm"

[OMEN_27u_HDR_H21.AddReg]
HKR,"MODES\3840,2160",Mode1,,"30-135,48-144,+,-"
HKR,,PreferredMode,,"3840,2160,60"
HKR,,ICMProfile,0,"OMEN_27u_HDR.icm"

[OMEN_27u_HDR_H20.AddReg]
HKR,"MODES\3840,2160",Mode1,,"30-136,48-60,+,-"
HKR,,PreferredMode,,"3840,2160,60"
HKR,,ICMProfile,0,"OMEN_27u_HDR.icm"

[OMEN_27u_HDR.CopyFiles]
OMEN_27u_HDR.icm

[OMEN_27u_HDR_DP.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[OMEN_27u_HDR_H21.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[OMEN_27u_HDR_H20.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install

[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         

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

HP="HP"
MonitorClassName="Monitor"
OMEN_27u_HDR_DP="OMEN 27u 4K 144Hz HDR IPS Gaming Monitor"
OMEN_27u_HDR_H21="OMEN 27u 4K 144Hz HDR IPS Gaming Monitor"
OMEN_27u_HDR_H20="OMEN 27u 4K 144Hz HDR IPS Gaming Monitor"
Disk="OMEN 27u Driver Software"

