; ###############################################################
;
;   HP_Z24n_win8.inf
;
;   Ver. 1.0.0.1        
;   1/8/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 Z24n Narrow Bezel IPS Display.
; 
; ###############################################################

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

[ControlFlags]
ExcludeFromSelect = MONITOR\HWP320E
ExcludeFromSelect = MONITOR\HWP320F
ExcludeFromSelect = MONITOR\HWP3210
ExcludeFromSelect = MONITOR\HWP3211

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_Z24n.icm=1

[DestinationDirs]
DefaultDestDir=12
Z24n.CopyFiles=23

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

[HP]
%Z24n_DP1%=Z24n_DP1.Install, Monitor\HWP320E
%Z24n_DP2%=Z24n_DP2.Install, Monitor\HWP320F
%Z24n_D%=Z24n_D.Install, Monitor\HWP3210
%Z24n_H%=Z24n_H.Install, Monitor\HWP3211

[HP.NTx86]
%Z24n_DP1%=Z24n_DP1.Install, Monitor\HWP320E
%Z24n_DP2%=Z24n_DP2.Install, Monitor\HWP320F
%Z24n_D%=Z24n_D.Install, Monitor\HWP3210
%Z24n_H%=Z24n_H.Install, Monitor\HWP3211

[HP.NTamd64]
%Z24n_DP1%=Z24n_DP1.Install, Monitor\HWP320E
%Z24n_DP2%=Z24n_DP2.Install, Monitor\HWP320F
%Z24n_D%=Z24n_D.Install, Monitor\HWP3210
%Z24n_H%=Z24n_H.Install, Monitor\HWP3211

[Z24n_DP1.Install]
DelReg=DEL_CURRENT_REG
AddReg=Z24n_DP1.AddReg, 1920, DPMS
CopyFiles=Z24n.CopyFiles

[Z24n_DP2.Install]
DelReg=DEL_CURRENT_REG
AddReg=Z24n_DP2.AddReg, 1920, DPMS
CopyFiles=Z24n.CopyFiles

[Z24n_D.Install]
DelReg=DEL_CURRENT_REG
AddReg=Z24n_D.AddReg, 1920, DPMS
CopyFiles=Z24n.CopyFiles

[Z24n_H.Install]
DelReg=DEL_CURRENT_REG
AddReg=Z24n_H.AddReg, 1920, DPMS
CopyFiles=Z24n.CopyFiles


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

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

[DPMS]
HKR,,DPMS,,1

[Z24n_DP1.AddReg]
HKR,"MODES\1920,1200",Mode1,,"30-75,50-60,+,-"
HKR,,PreferredMode,,"1920,1200,60"
HKR,,ICMProfile,0,"HP_Z24n.icm"

[Z24n_DP2.AddReg]
HKR,"MODES\1920,1200",Mode1,,"30-75,50-60,+,-"
HKR,,PreferredMode,,"1920,1200,60"
HKR,,ICMProfile,0,"HP_Z24n.icm"

[Z24n_D.AddReg]
HKR,"MODES\1920,1200",Mode1,,"30-75,50-60,+,-"
HKR,,PreferredMode,,"1920,1200,60"
HKR,,ICMProfile,0,"HP_Z24n.icm"

[Z24n_H.AddReg]
HKR,"MODES\1920,1200",Mode1,,"30-75,50-60,+,-"
HKR,,PreferredMode,,"1920,1200,60"
HKR,,ICMProfile,0,"HP_Z24n.icm"

[Z24n.CopyFiles]
HP_Z24n.icm

[Z24n_DP1.Install.Services]                                     
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[Z24n_DP2.Install.Services]                                      
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[Z24n_D.Install.Services]                                      
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[Z24n_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"
Z24n_DP1="HP Z24n Narrow Bezel IPS Display"
Z24n_DP2="HP Z24n Narrow Bezel IPS Display"
Z24n_D="HP Z24n Narrow Bezel IPS Display"
Z24n_H="HP Z24n Narrow Bezel IPS Display"
Disk="HP Z24n IPS Display Software"

