; ###############################################################
;
;   HP_Pavilion27_FHD.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 Pavilion 27 FHD Display.
; 
; ###############################################################


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

[ControlFlags]
ExcludeFromSelect = MONITOR\HPN3571
ExcludeFromSelect = MONITOR\HPN3572
ExcludeFromSelect = MONITOR\HPN3573

[DestinationDirs]
DefaultDestDir=12
FHD_27.CopyFiles=23

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_Pavilion27_FHD.icm=1

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

[HP]
%FHD_27_USBC%=FHD_27_USBC.Install, Monitor\HPN3571
%FHD_27_DP%=FHD_27_DP.Install, Monitor\HPN3572
%FHD_27_H1%=FHD_27_H1.Install, Monitor\HPN3573

[HP.NTx86]
%FHD_27_USBC%=FHD_27_USBC.Install, Monitor\HPN3571
%FHD_27_DP%=FHD_27_DP.Install, Monitor\HPN3572
%FHD_27_H1%=FHD_27_H1.Install, Monitor\HPN3573

[HP.NTamd64]
%FHD_27_USBC%=FHD_27_USBC.Install, Monitor\HPN3571
%FHD_27_DP%=FHD_27_DP.Install, Monitor\HPN3572
%FHD_27_H1%=FHD_27_H1.Install, Monitor\HPN3573

[FHD_27_USBC.Install]
DelReg=DEL_CURRENT_REG
AddReg=FHD_27_USBC.AddReg, 1920, DPMS
CopyFiles=FHD_27.CopyFiles

[FHD_27_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=FHD_27_DP.AddReg, 1920, DPMS
CopyFiles=FHD_27.CopyFiles

[FHD_27_H1.Install]
DelReg=DEL_CURRENT_REG
AddReg=FHD_27_H1.AddReg, 1920, DPMS
CopyFiles=FHD_27.CopyFiles

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

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

[DPMS]
HKR,,DPMS,,1

[FHD_27_USBC.AddReg]
HKR,"MODES\1920,1080",Mode1,,"83-83,48-75,+,-"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMProfile,0,"HP_Pavilion27_FHD.icm"

[FHD_27_DP.AddReg]
HKR,"MODES\1920,1080",Mode1,,"83-83,48-75,+,-"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMProfile,0,"HP_Pavilion27_FHD.icm"

[FHD_27_H1.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30-83,48-75,+,-"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMProfile,0,"HP_Pavilion27_FHD.icm"

[FHD_27.CopyFiles]
HP_Pavilion27_FHD.icm

[FHD_27_USBC.Install.Services]                                     
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[FHD_27_DP.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[FHD_27_H1.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"
FHD_27_USBC="HP Pavilion 27 FHD Display"
FHD_27_DP="HP Pavilion 27 FHD Display"
FHD_27_H1="HP Pavilion 27 FHD Display"
Disk="HP Pavilion 27 FHD Driver Software"
