; ################################################################
;
;   HP_P24a_G4.inf        
;
;   Ver. 1.0.0.0
;
;   Copyright (c)2021, HP Development Company, L.P.
;   All Rights Reserved
;
;   This is a Microsoft Windows x86/x64 setup information file
;   for the HP P24a G4 FHD Monitor.
; 
; ################################################################

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

[ControlFlags]
ExcludeFromSelect = MONITOR\HPN3772
ExcludeFromSelect = MONITOR\HPN3773
ExcludeFromSelect = MONITOR\HPN3774

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_P24a_G4.icm=1

[DestinationDirs]
DefaultDestDir=12
P24a_G4.CopyFiles=23

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

[HP]
%P24a_G4_DP%=P24a_G4_DP.Install, Monitor\HPN3772
%P24a_G4_H%=P24a_G4_H.Install, Monitor\HPN3773
%P24a_G4_A%=P24a_G4_A.Install, Monitor\HPN3774

[HP.NTx86]
%P24a_G4_DP%=P24a_G4_DP.Install, Monitor\HPN3772
%P24a_G4_H%=P24a_G4_H.Install, Monitor\HPN3773
%P24a_G4_A%=P24a_G4_A.Install, Monitor\HPN3774

[HP.NTamd64]
%P24a_G4_DP%=P24a_G4_DP.Install, Monitor\HPN3772
%P24a_G4_H%=P24a_G4_H.Install, Monitor\HPN3773
%P24a_G4_A%=P24a_G4_A.Install, Monitor\HPN3774

[P24a_G4_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=P24a_G4_DP.AddReg, 1920, DPMS
CopyFiles=P24a_G4.CopyFiles

[P24a_G4_H.Install]
DelReg=DEL_CURRENT_REG
AddReg=P24a_G4_H.AddReg, 1920, DPMS
CopyFiles=P24a_G4.CopyFiles

[P24a_G4_A.Install]
DelReg=DEL_CURRENT_REG
AddReg=P24a_G4_A.AddReg, 1920, DPMS
CopyFiles=P24a_G4.CopyFiles

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

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

[DPMS]
HKR,,DPMS,,1

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

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

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

[P24a_G4.CopyFiles]
HP_P24a_G4.icm

[P24a_G4_DP.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[P24a_G4_H.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[P24a_G4_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"
P24a_G4_DP="HP P24a G4 FHD Monitor"
P24a_G4_H="HP P24a G4 FHD Monitor"
P24a_G4_A="HP P24a G4 FHD Monitor"
Disk="HP P24a G4 Driver Software"
