; ################################################################
;
;   HP_Z27k_G3.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 Z27k G3 4K USB-C Display.
; 
; ################################################################

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

[ControlFlags]
ExcludeFromSelect = MONITOR\HPN36D3
ExcludeFromSelect = MONITOR\HPN36D4
ExcludeFromSelect = MONITOR\HPN36D5

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_Z27k_G3.icm=1

[DestinationDirs]
DefaultDestDir=12
Z27k_G3.CopyFiles=23

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

[HP]
%Z27k_G3_USBC%=Z27k_G3_USBC.Install, Monitor\HPN36D3
%Z27k_G3_DP%=Z27k_G3_DP.Install, Monitor\HPN36D4
%Z27k_G3_H%=Z27k_G3_H.Install, Monitor\HPN36D5

[HP.NTx86]
%Z27k_G3_USBC%=Z27k_G3_USBC.Install, Monitor\HPN36D3
%Z27k_G3_DP%=Z27k_G3_DP.Install, Monitor\HPN36D4
%Z27k_G3_H%=Z27k_G3_H.Install, Monitor\HPN36D5

[HP.NTamd64]
%Z27k_G3_USBC%=Z27k_G3_USBC.Install, Monitor\HPN36D3
%Z27k_G3_DP%=Z27k_G3_DP.Install, Monitor\HPN36D4
%Z27k_G3_H%=Z27k_G3_H.Install, Monitor\HPN36D5

[Z27k_G3_USBC.Install]
DelReg=DEL_CURRENT_REG
AddReg=Z27k_G3_USBC.AddReg, 3840, DPMS
CopyFiles=Z27k_G3.CopyFiles

[Z27k_G3_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=Z27k_G3_DP.AddReg, 3840, DPMS
CopyFiles=Z27k_G3.CopyFiles

[Z27k_G3_H.Install]
DelReg=DEL_CURRENT_REG
AddReg=Z27k_G3_H.AddReg, 3840, DPMS
CopyFiles=Z27k_G3.CopyFiles

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

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

[Z27k_G3_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

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

[DPMS]
HKR,,DPMS,,1

[Z27k_G3_USBC.AddReg]
HKR,"MODES\3840,2160",Mode1,,"28-135,29-60,+,-"
HKR,,PreferredMode,,"3840,2160,60"
HKR,,ICMProfile,0,"HP_Z27k_G3.icm"

[Z27k_G3_DP.AddReg]
HKR,"MODES\3840,2160",Mode1,,"28-135,29-60,+,-"
HKR,,PreferredMode,,"3840,2160,60"
HKR,,ICMProfile,0,"HP_Z27k_G3.icm"

[Z27k_G3_H.AddReg]
HKR,"MODES\3840,2160",Mode1,,"28-135,29-60,+,-"
HKR,,PreferredMode,,"3840,2160,60"
HKR,,ICMProfile,0,"HP_Z27k_G3.icm"

[Z27k_G3.CopyFiles]
HP_Z27k_G3.icm

[Z27k_G3_USBC.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[Z27k_G3_DP.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[Z27k_G3_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"
Z27k_G3_USBC="HP Z27k G3 4K USB-C Display"
Z27k_G3_DP="HP Z27k G3 4K USB-C Display"
Z27k_G3_H="HP Z27k G3 4K USB-C Display"
Disk="HP Z27k G3 Driver Software"
