; ###############################################################
;
;   HP_Z31x.inf
;
;   Ver. 1.0.0.0        
;
;   Copyright (c)2017, HP Development Company, L.P.
;   All Rights Reserved
;
;   This is a Microsoft Windows x86/x64 setup information  
;   file for the HP DreamColor Z31x Studio Cinema 4K Display.
; 
; ###############################################################


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

[ControlFlags]
ExcludeFromSelect = MONITOR\HPN3419
ExcludeFromSelect = MONITOR\HPN341A
ExcludeFromSelect = MONITOR\HPN341B
ExcludeFromSelect = MONITOR\HPN341C
ExcludeFromSelect = MONITOR\HPN341E

[DestinationDirs]
DefaultDestDir=12
Z31x.CopyFiles=23

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP Z31x sRGB D50 Profile.icm=1
HP Z31x sRGB D65 Profile.icm=1
HP Z31x AdobeRGB Profile.icm=1
HP Z31x BT709 Profile.icm=1
HP Z31x BT2020 Profile.icm=1
HP Z31x DCI-P3 Profile.icm=1
HP Z31x EPD Profile.icm=1
HP Z31x Native Profile.icm=1

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

[HP]
%Z31x_UDP%=Z31x_UDP.Install, Monitor\HPN3419
%Z31x_DP1%=Z31x_DP1.Install, Monitor\HPN341A
%Z31x_DP2%=Z31x_DP2.Install, Monitor\HPN341B
%Z31x_H1%=Z31x_H1.Install, Monitor\HPN341C
%Z31x_H2%=Z31x_H2.Install, Monitor\HPN341E

[HP.NTx86]
%Z31x_UDP%=Z31x_UDP.Install, Monitor\HPN3419
%Z31x_DP1%=Z31x_DP1.Install, Monitor\HPN341A
%Z31x_DP2%=Z31x_DP2.Install, Monitor\HPN341B
%Z31x_H1%=Z31x_H1.Install, Monitor\HPN341C
%Z31x_H2%=Z31x_H2.Install, Monitor\HPN341E

[HP.NTamd64]
%Z31x_UDP%=Z31x_UDP.Install, Monitor\HPN3419
%Z31x_DP1%=Z31x_DP1.Install, Monitor\HPN341A
%Z31x_DP2%=Z31x_DP2.Install, Monitor\HPN341B
%Z31x_H1%=Z31x_H1.Install, Monitor\HPN341C
%Z31x_H2%=Z31x_H2.Install, Monitor\HPN341E

[Z31x_UDP.Install]
DelReg=DEL_CURRENT_REG
AddReg=Z31x_UDP.AddReg, 4096, DPMS
CopyFiles=Z31x.CopyFiles

[Z31x_DP1.Install]
DelReg=DEL_CURRENT_REG
AddReg=Z31x_DP1.AddReg, 4096, DPMS
CopyFiles=Z31x.CopyFiles

[Z31x_DP2.Install]
DelReg=DEL_CURRENT_REG
AddReg=Z31x_DP2.AddReg, 4096, DPMS
CopyFiles=Z31x.CopyFiles

[Z31x_H1.Install]
DelReg=DEL_CURRENT_REG
AddReg=Z31x_H1.AddReg, 4096, DPMS
CopyFiles=Z31x.CopyFiles

[Z31x_H2.Install]
DelReg=DEL_CURRENT_REG
AddReg=Z31x_H2.AddReg, 4096, DPMS
CopyFiles=Z31x.CopyFiles

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

[4096]
HKR,,MaxResolution,,"4096,2160"

[DPMS]
HKR,,DPMS,,1

[Z31x_UDP.AddReg]
HKR,"MODES\4096,2160",Mode1,,"30-135,24-60,+,-"
HKR,,PreferredMode,,"4096,2160,60"
HKR,,ICMProfile,0x00010000,"HP Z31x sRGB D65 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x sRGB D50 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x AdobeRGB Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x BT709 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x BT2020 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x DCI-P3 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x EPD Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x Native Profile.icm"

[Z31x_DP1.AddReg]
HKR,"MODES\4096,2160",Mode1,,"30-135,24-60,+,-"
HKR,,PreferredMode,,"4096,2160,60"
HKR,,ICMProfile,0x00010000,"HP Z31x sRGB D65 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x sRGB D50 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x AdobeRGB Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x BT709 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x BT2020 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x DCI-P3 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x EPD Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x Native Profile.icm"

[Z31x_DP2.AddReg]
HKR,"MODES\4096,2160",Mode1,,"30-135,24-60,+,-"
HKR,,PreferredMode,,"4096,2160,60"
HKR,,ICMProfile,0x00010000,"HP Z31x sRGB D65 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x sRGB D50 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x AdobeRGB Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x BT709 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x BT2020 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x DCI-P3 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x EPD Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x Native Profile.icm"

[Z31x_H1.AddReg]
HKR,"MODES\4096,2160",Mode1,,"30-135,24-60,+,-"
HKR,,PreferredMode,,"4096,2160,60"
HKR,,ICMProfile,0x00010000,"HP Z31x sRGB D65 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x sRGB D50 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x AdobeRGB Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x BT709 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x BT2020 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x DCI-P3 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x EPD Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x Native Profile.icm"

[Z31x_H2.AddReg]
HKR,"MODES\4096,2160",Mode1,,"30-135,24-60,+,-"
HKR,,PreferredMode,,"4096,2160,60"
HKR,,ICMProfile,0x00010000,"HP Z31x sRGB D65 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x sRGB D50 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x AdobeRGB Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x BT709 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x BT2020 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x DCI-P3 Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x EPD Profile.icm"
HKR,,ICMProfile,0x00010008,"HP Z31x Native Profile.icm"

[Z31x.CopyFiles]
HP Z31x sRGB D50 Profile.icm
HP Z31x sRGB D65 Profile.icm
HP Z31x AdobeRGB Profile.icm
HP Z31x BT709 Profile.icm
HP Z31x BT2020 Profile.icm
HP Z31x DCI-P3 Profile.icm
HP Z31x EPD Profile.icm
HP Z31x Native Profile.icm

[Z31x_UDP.Install.Services]                                     
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[Z31x_DP1.Install.Services]                                     
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[Z31x_DP2.Install.Services]                                      
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[Z31x_H1.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[Z31x_H2.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"
Z31x_UDP="HP DreamColor Z31x Studio Cinema 4K Display"
Z31x_DP1="HP DreamColor Z31x Studio Cinema 4K Display"
Z31x_DP2="HP DreamColor Z31x Studio Cinema 4K Display"
Z31x_H1="HP DreamColor Z31x Studio Cinema 4K Display"
Z31x_H2="HP DreamColor Z31x Studio Cinema 4K Display"
Disk="HP Z31x Driver Software"
