; ################################################################
;
;   HP_E24d_G4.inf        
;
;   Ver. 2.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 HP E24d G4 FHD USB-C Conferencing Monitor.
; 
; ################################################################

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

[ControlFlags]
ExcludeFromSelect = MONITOR\HPN3650
ExcludeFromSelect = MONITOR\HPN3651
ExcludeFromSelect = MONITOR\HPN3652

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_E24d_G4.icm=1

[DestinationDirs]
DefaultDestDir=12
E24d_G4.CopyFiles=23

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

[HP]
%E24d_G4_UDP%=E24d_G4_UDP.Install, Monitor\HPN3650
%E24d_G4_DP%=E24d_G4_DP.Install, Monitor\HPN3651
%E24d_G4_H%=E24d_G4_H.Install, Monitor\HPN3652

[HP.NTx86]
%E24d_G4_UDP%=E24d_G4_UDP.Install, Monitor\HPN3650
%E24d_G4_DP%=E24d_G4_DP.Install, Monitor\HPN3651
%E24d_G4_H%=E24d_G4_H.Install, Monitor\HPN3652

[HP.NTamd64]
%E24d_G4_UDP%=E24d_G4_UDP.Install, Monitor\HPN3650
%E24d_G4_DP%=E24d_G4_DP.Install, Monitor\HPN3651
%E24d_G4_H%=E24d_G4_H.Install, Monitor\HPN3652

[E24d_G4_UDP.Install]
DelReg=DEL_CURRENT_REG
AddReg=E24d_G4_UDP.AddReg, 1920, DPMS
CopyFiles=E24d_G4.CopyFiles

[E24d_G4_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=E24d_G4_DP.AddReg, 1920, DPMS
CopyFiles=E24d_G4.CopyFiles

[E24d_G4_H.Install]
DelReg=DEL_CURRENT_REG
AddReg=E24d_G4_H.AddReg, 1920, DPMS
CopyFiles=E24d_G4.CopyFiles

[E24d_G4_UDP.Install.Software]
AddSoftware=UWPAppxInstall,, UWPAppx_Inst

[E24d_G4_DP.Install.Software]
AddSoftware=UWPAppxInstall,, UWPAppx_Inst

[E24d_G4_H.Install.Software]
AddSoftware=UWPAppxInstall,, UWPAppx_Inst

[UWPAppx_Inst]
SoftwareType=2
SoftwareFlags=0
SoftwareID=pfn://AD2F1837.HPDisplayCenter_v10z8vjag6ke6

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

[1920]
HKR,,MaxResolution,,"1920,1080"

[DPMS]
HKR,,DPMS,,1

[E24d_G4_UDP.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30-80,50-60,+,+"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMProfile,0,"HP_E24d_G4.icm"

[E24d_G4_DP.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30-80,50-60,+,+"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMProfile,0,"HP_E24d_G4.icm"

[E24d_G4_H.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30-80,50-60,+,+"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMProfile,0,"HP_E24d_G4.icm"

[E24d_G4.CopyFiles]
HP_E24d_G4.icm

[E24d_G4_UDP.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[E24d_G4_DP.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[E24d_G4_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"
E24d_G4_UDP="HP E24d G4 FHD USB-C Conferencing Monitor"
E24d_G4_DP="HP E24d G4 FHD USB-C Conferencing Monitor"
E24d_G4_H="HP E24d G4 FHD USB-C Conferencing Monitor"
Disk="HP E24d G4 Driver Software"