; ################################################################
;
;   HP_P242va_win8.inf        
;
;   Ver. 1.0.0.1
;   12/14/2014
;
;   Copyright (c)2014, Hewlett-Packard Development Company, L.P.
;   All Rights Reserved
;
;   This is a Microsoft Windows 8.0/8.1 setup information file
;   for the HP ProDisplay P242va LCD Monitor.
; 
; ################################################################

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

[ControlFlags]
ExcludeFromSelect = MONITOR\HWP3236
ExcludeFromSelect = MONITOR\HWP3237
ExcludeFromSelect = MONITOR\HWP3238

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_P242va.icm=1

[DestinationDirs]
DefaultDestDir=12
P242va.CopyFiles=23

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

[HP]
%P242va_D%=P242va_D.Install, Monitor\HWP3236
%P242va_H%=P242va_H.Install, Monitor\HWP3237
%P242va_A%=P242va_A.Install, Monitor\HWP3238

[HP.NTx86]
%P242va_D%=P242va_D.Install, Monitor\HWP3236
%P242va_H%=P242va_H.Install, Monitor\HWP3237
%P242va_A%=P242va_A.Install, Monitor\HWP3238

[HP.NTamd64]
%P242va_D%=P242va_D.Install, Monitor\HWP3236
%P242va_H%=P242va_H.Install, Monitor\HWP3237
%P242va_A%=P242va_A.Install, Monitor\HWP3238

[P242va_D.Install]
DelReg=DEL_CURRENT_REG
AddReg=P242va_D.AddReg, 1920, DPMS
CopyFiles=P242va.CopyFiles

[P242va_H.Install]
DelReg=DEL_CURRENT_REG
AddReg=P242va_H.AddReg, 1920, DPMS
CopyFiles=P242va.CopyFiles

[P242va_A.Install]
DelReg=DEL_CURRENT_REG
AddReg=P242va_A.AddReg, 1920, DPMS
CopyFiles=P242va.CopyFiles

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

[1920]
HKR,,MaxResolution,,"1920,1080"

[DPMS]
HKR,,DPMS,,1

[P242va_D.AddReg]
HKR,"MODES\1920,1080",Mode1,,"24-80,50-60,+,+"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMProfile,0,"HP_P242va.icm"

[P242va_H.AddReg]
HKR,"MODES\1920,1080",Mode1,,"24-80,50-60,+,+"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMProfile,0,"HP_P242va.icm"

[P242va_A.AddReg]
HKR,"MODES\1920,1080",Mode1,,"24-80,50-60,+,+"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMProfile,0,"HP_P242va.icm"

[P242va.CopyFiles]
HP_P242va.icm

[P242va_D.Install.Services]                                                                           
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[P242va_H.Install.Services]                                                                           
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[P242va_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"
P242va_D="HP ProDisplay P242va Monitor"
P242va_H="HP ProDisplay P242va Monitor"
P242va_A="HP ProDisplay P242va Monitor"
Disk="HP P242va Driver Software"