; ###############################################################
;
;   HP_E243d.inf
;
;   Ver. 1.0.0.1        
;
;   Copyright (c)2017, HP Development Company, L.P.
;   All Rights Reserved
;
;   This is a Microsoft Windows x86/x64 setup information  
;   file for the HP EliteDisplay E243d Docking Monitor.
; 
; ###############################################################


[Version]
signature="$WINDOWS NT$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%HP%
CatalogFile=HP_E243d.cat
DriverVer=04/25/2018,1.0.0.1
PnpLockDown=1

[ControlFlags]
ExcludeFromSelect = MONITOR\HPN350F
ExcludeFromSelect = MONITOR\HPN3520
ExcludeFromSelect = MONITOR\HPN3511
ExcludeFromSelect = MONITOR\HPN3512

[DestinationDirs]
DefaultDestDir=12
E243d.CopyFiles=23

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_E243d.icm=1

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

[HP]
%E243d_UDP%=E243d_UDP.Install, Monitor\HPN350F
%E243d_UH%=E243d_UH.Install, Monitor\HPN3520
%E243d_H1%=E243d_H1.Install, Monitor\HPN3511
%E243d_V%=E243d_V.Install, Monitor\HPN3512

[HP.NTx86]
%E243d_UDP%=E243d_UDP.Install, Monitor\HPN350F
%E243d_UH%=E243d_UH.Install, Monitor\HPN3520
%E243d_H1%=E243d_H1.Install, Monitor\HPN3511
%E243d_V%=E243d_V.Install, Monitor\HPN3512

[HP.NTamd64]
%E243d_UDP%=E243d_UDP.Install, Monitor\HPN350F
%E243d_UH%=E243d_UH.Install, Monitor\HPN3520
%E243d_H1%=E243d_H1.Install, Monitor\HPN3511
%E243d_V%=E243d_V.Install, Monitor\HPN3512

[E243d_UDP.Install]
DelReg=DEL_CURRENT_REG
AddReg=E243d_UDP.AddReg, 1920, DPMS
CopyFiles=E243d.CopyFiles

[E243d_UH.Install]
DelReg=DEL_CURRENT_REG
AddReg=E243d_UH.AddReg, 1920, DPMS
CopyFiles=E243d.CopyFiles

[E243d_H1.Install]
DelReg=DEL_CURRENT_REG
AddReg=E243d_H1.AddReg, 1920, DPMS
CopyFiles=E243d.CopyFiles

[E243d_V.Install]
DelReg=DEL_CURRENT_REG
AddReg=E243d_V.AddReg, 1920, DPMS
CopyFiles=E243d.CopyFiles

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

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

[DPMS]
HKR,,DPMS,,1

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

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

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

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

[E243d.CopyFiles]
HP_E243d.icm

[E243d_UDP.Install.Services]                                     
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[E243d_UH.Install.Services]                                      
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[E243d_H1.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[E243d_V.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"
E243d_UDP="HP EliteDisplay E243d Docking Monitor"
E243d_UH="HP EliteDisplay E243d Docking Monitor"
E243d_H1="HP EliteDisplay E243d Docking Monitor"
E243d_V="HP EliteDisplay E243d Docking Monitor"
Disk="HP E243d Driver Software"
