; ###############################################################
;
;   HP_S340c.inf        
;
;   Ver. 1.0.0.0        
;
;   Copyright (c)2016, HP Development Company, L.P.
;   All Rights Reserved
;
;   This is a Microsoft Windows x86/x64 setup information 
;   file for the HP EliteDisplay S340c 34-inch Curved Monitor.
; 
; ###############################################################

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

[ControlFlags]
ExcludeFromSelect = MONITOR\HWP3344
ExcludeFromSelect = MONITOR\HWP3345

[DestinationDirs]
DefaultDestDir=12
S340c.CopyFiles=23

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_S340c.icm=1

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

[HP]
%S340c_DP%=S340c_DP.Install, Monitor\HWP3344
%S340c_H%=S340c_H.Install, Monitor\HWP3345

[HP.NTx86]
%S340c_DP%=S340c_DP.Install, Monitor\HWP3344
%S340c_H%=S340c_H.Install, Monitor\HWP3345

[HP.NTamd64]
%S340c_DP%=S340c_DP.Install, Monitor\HWP3344
%S340c_H%=S340c_H.Install, Monitor\HWP3345

[S340c_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=S340c_DP.AddReg, 3440, DPMS
CopyFiles=S340c.CopyFiles

[S340c_H.Install]
DelReg=DEL_CURRENT_REG
AddReg=S340c_H.AddReg, 3440, DPMS
CopyFiles=S340c.CopyFiles

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

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

[DPMS]
HKR,,DPMS,,1

[S340c_DP.AddReg]
HKR,"MODES\3440,1440",Mode1,,"30-90,30-60,+,-"
HKR,,PreferredMode,,"3440,1440,60"
HKR,,ICMProfile,0,"HP_S340c.icm"

[S340c_H.AddReg]
HKR,"MODES\3440,1440",Mode1,,"27-90,24-60,+,-"
HKR,,PreferredMode,,"3440,1440,60"
HKR,,ICMProfile,0,"HP_S340c.icm"

[S340c.CopyFiles]
HP_S340c.icm

[S340c_DP.Install.Services]                                      
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[S340c_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"
S340c_DP="HP EliteDisplay S340c Curved Monitor"
S340c_H="HP EliteDisplay S340c Curved Monitor"
Disk="HP S340c Display Software"
