; ###############################################################
;
;   HP_E240q.inf
;
;   Ver. 1.0.0.1        
;   6/22/2015
;
;   Copyright (c)2015, Hewlett-Packard Development Company, L.P.
;   All Rights Reserved
;
;   This is a Microsoft Windows x86/x64 setup information file 
;   for the HP EliteDisplay E240q QHD Monitor.
; 
; ###############################################################

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

[ControlFlags]
ExcludeFromSelect = MONITOR\HWP3267
ExcludeFromSelect = MONITOR\HWP3268
ExcludeFromSelect = MONITOR\HWP3269

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_E240q.icm=1

[DestinationDirs]
DefaultDestDir=12
E240q.CopyFiles=23

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

[HP]
%E240q_DP%=E240q_DP.Install, Monitor\HWP3267
%E240q_H%=E240q_H.Install, Monitor\HWP3268
%E240q_A%=E240q_A.Install, Monitor\HWP3269

[HP.NTx86]
%E240q_DP%=E240q_DP.Install, Monitor\HWP3267
%E240q_H%=E240q_H.Install, Monitor\HWP3268
%E240q_A%=E240q_A.Install, Monitor\HWP3269

[HP.NTamd64]
%E240q_DP%=E240q_DP.Install, Monitor\HWP3267
%E240q_H%=E240q_H.Install, Monitor\HWP3268
%E240q_A%=E240q_A.Install, Monitor\HWP3269

[E240q_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=E240q_DP.AddReg, 2560, DPMS
CopyFiles=E240q.CopyFiles

[E240q_H.Install]
DelReg=DEL_CURRENT_REG
AddReg=E240q_H.AddReg, 2560, DPMS
CopyFiles=E240q.CopyFiles

[E240q_A.Install]
DelReg=DEL_CURRENT_REG
AddReg=E240q_A.AddReg, 1920, DPMS
CopyFiles=E240q.CopyFiles


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

[1920]
HKR,,MaxResolution,,"1920,1200"

[2560]
HKR,,MaxResolution,,"2560,1440"

[DPMS]
HKR,,DPMS,,1

[E240q_DP.AddReg]
HKR,"MODES\2560,1440",Mode1,,"30-90,50-60,+,-"
HKR,,PreferredMode,,"2560,1440,60"
HKR,,ICMProfile,0,"HP_E240q.icm"

[E240q_H.AddReg]
HKR,"MODES\2560,1440",Mode1,,"30-90,50-60,+,-"
HKR,,PreferredMode,,"2560,1440,60"
HKR,,ICMProfile,0,"HP_E240q.icm"

[E240q_A.AddReg]
HKR,"MODES\1920,1200",Mode1,,"30-80,50-60,+,-"
HKR,,PreferredMode,,"1920,1200,60"
HKR,,ICMProfile,0,"HP_E240q.icm"

[E240q.CopyFiles]
HP_E240q.icm

[E240q_DP.Install.Services]                                     
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[E240q_H.Install.Services]                                      
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[E240q_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"
E240q_DP="HP EliteDisplay E240q QHD Monitor"
E240q_H="HP EliteDisplay E240q QHD Monitor"
E240q_A="HP EliteDisplay E240q QHD Monitor"
Disk="HP E240q Display Software"
