; ################################################################
;
;   HP_U28_4K_HDR.inf        
;
;   Ver. 1.0.0.0
;
;   Copyright (c)2020, HP Development Company, L.P.
;   All Rights Reserved
;
;   This is a Microsoft Windows x86/x64 setup information file
;   for the HP U28 4K HDR Monitor.
; 
; ################################################################

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

[ControlFlags]
ExcludeFromSelect = MONITOR\HPN36D6
ExcludeFromSelect = MONITOR\HPN36D7
ExcludeFromSelect = MONITOR\HPN36D8

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_U28_4K_HDR.icm=1

[DestinationDirs]
DefaultDestDir=12
HP_U28_4K.CopyFiles=23

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

[HP]
%HP_U28_4K_USBC%=HP_U28_4K_USBC.Install, Monitor\HPN36D6
%HP_U28_4K_DP%=HP_U28_4K_DP.Install, Monitor\HPN36D7
%HP_U28_4K_H%=HP_U28_4K_H.Install, Monitor\HPN36D8

[HP.NTx86]
%HP_U28_4K_USBC%=HP_U28_4K_USBC.Install, Monitor\HPN36D6
%HP_U28_4K_DP%=HP_U28_4K_DP.Install, Monitor\HPN36D7
%HP_U28_4K_H%=HP_U28_4K_H.Install, Monitor\HPN36D8

[HP.NTamd64]
%HP_U28_4K_USBC%=HP_U28_4K_USBC.Install, Monitor\HPN36D6
%HP_U28_4K_DP%=HP_U28_4K_DP.Install, Monitor\HPN36D7
%HP_U28_4K_H%=HP_U28_4K_H.Install, Monitor\HPN36D8

[HP_U28_4K_USBC.Install]
DelReg=DEL_CURRENT_REG
AddReg=HP_U28_4K_USBC.AddReg, 3840, DPMS
CopyFiles=HP_U28_4K.CopyFiles

[HP_U28_4K_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=HP_U28_4K_DP.AddReg, 3840, DPMS
CopyFiles=HP_U28_4K.CopyFiles

[HP_U28_4K_H.Install]
DelReg=DEL_CURRENT_REG
AddReg=HP_U28_4K_H.AddReg, 3840, DPMS
CopyFiles=HP_U28_4K.CopyFiles

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

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

[DPMS]
HKR,,DPMS,,1

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

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

[HP_U28_4K_H.AddReg]
HKR,"MODES\3840,2160",Mode1,,"27-136,30-60,+,-"
HKR,,PreferredMode,,"3840,2160,60"
HKR,,ICMProfile,0,"HP_U28_4K_HDR.icm"

[HP_U28_4K.CopyFiles]
HP_U28_4K_HDR.icm

[HP_U28_4K_USBC.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[HP_U28_4K_DP.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[HP_U28_4K_H.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"
HP_U28_4K_USBC="HP U28 4K HDR Monitor"
HP_U28_4K_DP="HP U28 4K HDR Monitor"
HP_U28_4K_H="HP U28 4K HDR Monitor"
Disk="HP U28 4K Driver Software"
