; ###############################################################
;
;   HP_S270n.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 EliteDisplay S270n Monitor.
; 
; ###############################################################


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

[ControlFlags]
ExcludeFromSelect = MONITOR\HPN352E
ExcludeFromSelect = MONITOR\HPN352F
ExcludeFromSelect = MONITOR\HPN3530
ExcludeFromSelect = MONITOR\HPN3531

[DestinationDirs]
DefaultDestDir=12
S270n.CopyFiles=23

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_S270n.icm=1

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

[HP]
%S270n_DP1%=S270n_DP1.Install, Monitor\HPN352E
%S270n_DP2%=S270n_DP2.Install, Monitor\HPN352F
%S270n_H1%=S270n_H1.Install, Monitor\HPN3530
%S270n_H2%=S270n_H2.Install, Monitor\HPN3531

[HP.NTx86]
%S270n_DP1%=S270n_DP1.Install, Monitor\HPN352E
%S270n_DP2%=S270n_DP2.Install, Monitor\HPN352F
%S270n_H1%=S270n_H1.Install, Monitor\HPN3530
%S270n_H2%=S270n_H2.Install, Monitor\HPN3531

[HP.NTamd64]
%S270n_DP1%=S270n_DP1.Install, Monitor\HPN352E
%S270n_DP2%=S270n_DP2.Install, Monitor\HPN352F
%S270n_H1%=S270n_H1.Install, Monitor\HPN3530
%S270n_H2%=S270n_H2.Install, Monitor\HPN3531

[S270n_DP1.Install]
DelReg=DEL_CURRENT_REG
AddReg=S270n_DP1.AddReg, 3840, DPMS
CopyFiles=S270n.CopyFiles

[S270n_DP2.Install]
DelReg=DEL_CURRENT_REG
AddReg=S270n_DP2.AddReg, 3840, DPMS
CopyFiles=S270n.CopyFiles

[S270n_H1.Install]
DelReg=DEL_CURRENT_REG
AddReg=S270n_H1.AddReg, 3840, DPMS
CopyFiles=S270n.CopyFiles

[S270n_H2.Install]
DelReg=DEL_CURRENT_REG
AddReg=S270n_H2.AddReg, 3840, DPMS
CopyFiles=S270n.CopyFiles

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

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

[DPMS]
HKR,,DPMS,,1

[S270n_DP1.AddReg]
HKR,"MODES\3840,2160",Mode1,,"27-135,24-60,+,-"
HKR,,PreferredMode,,"3840,2160,60"
HKR,,ICMProfile,0,"HP_S270n.icm"

[S270n_DP2.AddReg]
HKR,"MODES\3840,2160",Mode1,,"27-135,24-60,+,-"
HKR,,PreferredMode,,"3840,2160,60"
HKR,,ICMProfile,0,"HP_S270n.icm"

[S270n_H1.AddReg]
HKR,"MODES\3840,2160",Mode1,,"27-135,24-60,+,-"
HKR,,PreferredMode,,"3840,2160,60"
HKR,,ICMProfile,0,"HP_S270n.icm"

[S270n_H2.AddReg]
HKR,"MODES\3840,2160",Mode1,,"27-100,24-60,+,+"
HKR,,PreferredMode,,"3840,2160,30"
HKR,,ICMProfile,0,"HP_S270n.icm"

[S270n.CopyFiles]
HP_S270n.icm

[S270n_DP1.Install.Services]                                     
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[S270n_DP2.Install.Services]                                      
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[S270n_H1.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[S270n_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"
S270n_DP1="HP EliteDisplay S270n Monitor"
S270n_DP2="HP EliteDisplay S270n Monitor"
S270n_H1="HP EliteDisplay S270n Monitor"
S270n_H2="HP EliteDisplay S270n Monitor"
Disk="HP EliteDisplay S270n Driver Software"
