; ###############################################################
;
;   HP_Z27n_win8.inf
;
;   Ver. 1.0.0.1        
;   1/6/2015
;
;   Copyright (c)2015, Hewlett-Packard Development Company, L.P.
;   All Rights Reserved
;
;   This is a Microsoft Windows 8.0/8.1 setup information file 
;   for the HP Z27n Narrow Bezel IPS Display.
; 
; ###############################################################

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

[ControlFlags]
ExcludeFromSelect = MONITOR\HWP3216
ExcludeFromSelect = MONITOR\HWP3217
ExcludeFromSelect = MONITOR\HWP3218
ExcludeFromSelect = MONITOR\HWP3219

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_Z27n.icm=1

[DestinationDirs]
DefaultDestDir=12
Z27n.CopyFiles=23

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

[HP]
%Z27n_DP1%=Z27n_DP1.Install, Monitor\HWP3216
%Z27n_DP2%=Z27n_DP2.Install, Monitor\HWP3217
%Z27n_D%=Z27n_D.Install, Monitor\HWP3218
%Z27n_H%=Z27n_H.Install, Monitor\HWP3219

[HP.NTx86]
%Z27n_DP1%=Z27n_DP1.Install, Monitor\HWP3216
%Z27n_DP2%=Z27n_DP2.Install, Monitor\HWP3217
%Z27n_D%=Z27n_D.Install, Monitor\HWP3218
%Z27n_H%=Z27n_H.Install, Monitor\HWP3219

[HP.NTamd64]
%Z27n_DP1%=Z27n_DP1.Install, Monitor\HWP3216
%Z27n_DP2%=Z27n_DP2.Install, Monitor\HWP3217
%Z27n_D%=Z27n_D.Install, Monitor\HWP3218
%Z27n_H%=Z27n_H.Install, Monitor\HWP3219

[Z27n_DP1.Install]
DelReg=DEL_CURRENT_REG
AddReg=Z27n_DP1.AddReg, 2560, DPMS
CopyFiles=Z27n.CopyFiles

[Z27n_DP2.Install]
DelReg=DEL_CURRENT_REG
AddReg=Z27n_DP2.AddReg, 2560, DPMS
CopyFiles=Z27n.CopyFiles

[Z27n_D.Install]
DelReg=DEL_CURRENT_REG
AddReg=Z27n_D.AddReg, 2560, DPMS
CopyFiles=Z27n.CopyFiles

[Z27n_H.Install]
DelReg=DEL_CURRENT_REG
AddReg=Z27n_H.AddReg, 2560, DPMS
CopyFiles=Z27n.CopyFiles


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

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

[DPMS]
HKR,,DPMS,,1

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

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

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

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

[Z27n.CopyFiles]
HP_Z27n.icm

[Z27n_DP1.Install.Services]                                     
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[Z27n_DP2.Install.Services]                                      
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[Z27n_D.Install.Services]                                      
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[Z27n_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"
Z27n_DP1="HP Z27n Narrow Bezel IPS Display"
Z27n_DP2="HP Z27n Narrow Bezel IPS Display"
Z27n_D="HP Z27n Narrow Bezel IPS Display"
Z27n_H="HP Z27n Narrow Bezel IPS Display"
Disk="HP Z27n IPS Display Software"

