; ###############################################################
;
;   HP_LD4312.inf
;
;   Ver. 1.0.0.0        
;
;   Copyright (c)2018, HP Development Company, L.P.
;   All Rights Reserved
;
;   This is a Microsoft Windows x86/x64 setup information  
;   file for the HP LD4312 4k Large Format Display.
; 
; ###############################################################


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

[ControlFlags]
ExcludeFromSelect = MONITOR\HPN356B
ExcludeFromSelect = MONITOR\HPN356C
ExcludeFromSelect = MONITOR\HPN356E
ExcludeFromSelect = MONITOR\HPN356F
ExcludeFromSelect = MONITOR\HPN3570

[DestinationDirs]
DefaultDestDir=12
LD4312.CopyFiles=23

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_LD4312.icm=1

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

[HP]
%LD4312_DP%=LD4312_DP.Install, Monitor\HPN356B
%LD4312_H1%=LD4312_H1.Install, Monitor\HPN356C
%LD4312_H2%=LD4312_H2.Install, Monitor\HPN356E
%LD4312_H3%=LD4312_H3.Install, Monitor\HPN356F
%LD4312_A%=LD4312_A.Install, Monitor\HPN3570

[HP.NTx86]
%LD4312_DP%=LD4312_DP.Install, Monitor\HPN356B
%LD4312_H1%=LD4312_H1.Install, Monitor\HPN356C
%LD4312_H2%=LD4312_H2.Install, Monitor\HPN356E
%LD4312_H3%=LD4312_H3.Install, Monitor\HPN356F
%LD4312_A%=LD4312_A.Install, Monitor\HPN3570

[HP.NTamd64]
%LD4312_DP%=LD4312_DP.Install, Monitor\HPN356B
%LD4312_H1%=LD4312_H1.Install, Monitor\HPN356C
%LD4312_H2%=LD4312_H2.Install, Monitor\HPN356E
%LD4312_H3%=LD4312_H3.Install, Monitor\HPN356F
%LD4312_A%=LD4312_A.Install, Monitor\HPN3570

[LD4312_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=LD4312_DP.AddReg, 3840, DPMS
CopyFiles=LD4312.CopyFiles

[LD4312_H1.Install]
DelReg=DEL_CURRENT_REG
AddReg=LD4312_H1.AddReg, 3840, DPMS
CopyFiles=LD4312.CopyFiles

[LD4312_H2.Install]
DelReg=DEL_CURRENT_REG
AddReg=LD4312_H2.AddReg, 3840, DPMS
CopyFiles=LD4312.CopyFiles

[LD4312_H3.Install]
DelReg=DEL_CURRENT_REG
AddReg=LD4312_H3.AddReg, 3840, DPMS
CopyFiles=LD4312.CopyFiles

[LD4312_A.Install]
DelReg=DEL_CURRENT_REG
AddReg=LD4312_A.AddReg, 1920, DPMS
CopyFiles=LD4312.CopyFiles

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

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

[1920]
HKR,,MaxResolution,,"1920,1200"

[DPMS]
HKR,,DPMS,,1

[LD4312_DP.AddReg]
HKR,"MODES\3840,2160",Mode1,,"27-136,24-60,+,-"
HKR,,PreferredMode,,"3840,2160,60"
HKR,,ICMProfile,0,"HP_LD4312.icm"

[LD4312_H1.AddReg]
HKR,"MODES\3840,2160",Mode1,,"27-136,24-60,+,-"
HKR,,PreferredMode,,"3840,2160,60"
HKR,,ICMProfile,0,"HP_LD4312.icm"

[LD4312_H2.AddReg]
HKR,"MODES\3840,2160",Mode1,,"27-100,24-60,+,+"
HKR,,PreferredMode,,"3840,2160,30"
HKR,,ICMProfile,0,"HP_LD4312.icm"

[LD4312_H3.AddReg]
HKR,"MODES\3840,2160",Mode1,,"27-100,24-60,+,+"
HKR,,PreferredMode,,"3840,2160,30"
HKR,,ICMProfile,0,"HP_LD4312.icm"

[LD4312_A.AddReg]
HKR,"MODES\1920,1200",Mode1,,"30-80,50-60,+,-"
HKR,,PreferredMode,,"1920,1200,60"
HKR,,ICMProfile,0,"HP_LD4312.icm"

[LD4312.CopyFiles]
HP_LD4312.icm

[LD4312_DP.Install.Services]                                     
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[LD4312_H1.Install.Services]                                     
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[LD4312_H2.Install.Services]                                      
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[LD4312_H3.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[LD4312_A.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"
LD4312_DP="HP LD4312 4k Large Format Display"
LD4312_H1="HP LD4312 4k Large Format Display"
LD4312_H2="HP LD4312 4k Large Format Display"
LD4312_H3="HP LD4312 4k Large Format Display"
LD4312_A="HP LD4312 4k Large Format Display"
Disk="HP LD4312 Driver Software"
