; ################################################################
;
;   HP_27xq.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 27xq Display.
; 
; ################################################################

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

[ControlFlags]
ExcludeFromSelect = MONITOR\HPN3582
ExcludeFromSelect = MONITOR\HPN3583


[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_27xq.icm=1

[DestinationDirs]
DefaultDestDir=12
27xq.CopyFiles=23

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

[HP]
%27xq_DP%=27xq_DP.Install, Monitor\HPN3582
%27xq_H%=27xq_H.Install, Monitor\HPN3583

[HP.NTx86]
%27xq_DP%=27xq_DP.Install, Monitor\HPN3582
%27xq_H%=27xq_H.Install, Monitor\HPN3583

[HP.NTamd64]
%27xq_DP%=27xq_DP.Install, Monitor\HPN3582
%27xq_H%=27xq_H.Install, Monitor\HPN3583

[27xq_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=27xq_DP.AddReg, 2560, DPMS
CopyFiles=27xq.CopyFiles

[27xq_H.Install]
DelReg=DEL_CURRENT_REG
AddReg=27xq_H.AddReg, 2560, DPMS
CopyFiles=27xq.CopyFiles

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

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

[DPMS]
HKR,,DPMS,,1

[27xq_DP.AddReg]
HKR,"MODES\2560,1440",Mode1,,"223-223,48-144,+,-"
HKR,,PreferredMode,,"2560,1440,60"
HKR,,ICMProfile,0,"HP_27xq.icm"

[27xq_H.AddReg]
HKR,"MODES\2560,1440",Mode1,,"30-223,48-144,+,-"
HKR,,PreferredMode,,"2560,1440,60"
HKR,,ICMProfile,0,"HP_27xq.icm"

[27xq.CopyFiles]
HP_27xq.icm

[27xq_DP.Install.Services]                                                                           
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[27xq_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"
27xq_DP="HP 27xq Display"
27xq_H="HP 27xq Display"
Disk="HP 27xq Driver Software"