; ################################################################
;
;   HP_P34hc_G4.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 P34hc G4 WQHD USB-C Curved Monitor.
; 
; ################################################################

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

[ControlFlags]
ExcludeFromSelect = MONITOR\HPN36F9
ExcludeFromSelect = MONITOR\HPN36FA
ExcludeFromSelect = MONITOR\HPN36FB

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_P34hc_G4.icm=1

[DestinationDirs]
DefaultDestDir=12
P34hc_G4.CopyFiles=23

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

[HP]
%P34hc_G4_USBC%=P34hc_G4_USBC.Install, Monitor\HPN36F9
%P34hc_G4_DP%=P34hc_G4_DP.Install, Monitor\HPN36FA
%P34hc_G4_H%=P34hc_G4_H.Install, Monitor\HPN36FB

[HP.NTx86]
%P34hc_G4_USBC%=P34hc_G4_USBC.Install, Monitor\HPN36F9
%P34hc_G4_DP%=P34hc_G4_DP.Install, Monitor\HPN36FA
%P34hc_G4_H%=P34hc_G4_H.Install, Monitor\HPN36FB

[HP.NTamd64]
%P34hc_G4_USBC%=P34hc_G4_USBC.Install, Monitor\HPN36F9
%P34hc_G4_DP%=P34hc_G4_DP.Install, Monitor\HPN36FA
%P34hc_G4_H%=P34hc_G4_H.Install, Monitor\HPN36FB

[P34hc_G4_USBC.Install]
DelReg=DEL_CURRENT_REG
AddReg=P34hc_G4_USBC.AddReg, 3440, DPMS
CopyFiles=P34hc_G4.CopyFiles

[P34hc_G4_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=P34hc_G4_DP.AddReg, 3440, DPMS
CopyFiles=P34hc_G4.CopyFiles

[P34hc_G4_H.Install]
DelReg=DEL_CURRENT_REG
AddReg=P34hc_G4_H.AddReg, 3440, DPMS
CopyFiles=P34hc_G4.CopyFiles

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

[3440]
HKR,,MaxResolution,,"3440,1440"

[DPMS]
HKR,,DPMS,,1

[P34hc_G4_USBC.AddReg]
HKR,"MODES\3440,1440",Mode1,,"30-160,48-100,+,-"
HKR,,PreferredMode,,"3440,1440,60"
HKR,,ICMProfile,0,"HP_P34hc_G4.icm"

[P34hc_G4_DP.AddReg]
HKR,"MODES\3440,1440",Mode1,,"30-160,48-100,+,-"
HKR,,PreferredMode,,"3440,1440,60"
HKR,,ICMProfile,0,"HP_P34hc_G4.icm"

[P34hc_G4_H.AddReg]
HKR,"MODES\3440,1440",Mode1,,"30-160,48-100,+,-"
HKR,,PreferredMode,,"3440,1440,60"
HKR,,ICMProfile,0,"HP_P34hc_G4.icm"

[P34hc_G4.CopyFiles]
HP_P34hc_G4.icm

[P34hc_G4_USBC.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[P34hc_G4_DP.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[P34hc_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"
P34hc_G4_USBC="HP P34hc G4 WQHD USB-C Curved Monitor"
P34hc_G4_DP="HP P34hc G4 WQHD USB-C Curved Monitor"
P34hc_G4_H="HP P34hc G4 WQHD USB-C Curved Monitor"
Disk="HP P34hc G4 Driver Software"
