; ###############################################################
;
;   HP_V231h.inf        
;
;   Ver. 1.0.0.0
;
;   Copyright (c)2016, HP Development Company, L.P.
;   All Rights Reserved
;
;   This is a Microsoft Windows x86/x64 setup information 
;   file for the HP V231h LED Backlit Monitor.
; 
; ###############################################################

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

[ControlFlags]
ExcludeFromSelect = MONITOR\HPN336A
ExcludeFromSelect = MONITOR\HPN336B
ExcludeFromSelect = MONITOR\HPN336C

[DestinationDirs]
DefaultDestDir=12
V231h.CopyFiles=23

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_V231h.icm=1

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

[HP]
%V231h_H1%=V231h_H1.Install, Monitor\HPN336A
%V231h_H2%=V231h_H2.Install, Monitor\HPN336B
%V231h_A%=V231h_A.Install, Monitor\HPN336C

[HP.NTx86]
%V231h_H1%=V231h_H1.Install, Monitor\HPN336A
%V231h_H2%=V231h_H2.Install, Monitor\HPN336B
%V231h_A%=V231h_A.Install, Monitor\HPN336C

[HP.NTamd64]
%V231h_H1%=V231h_H1.Install, Monitor\HPN336A
%V231h_H2%=V231h_H2.Install, Monitor\HPN336B
%V231h_A%=V231h_A.Install, Monitor\HPN336C

[V231h_H1.Install]
DelReg=DEL_CURRENT_REG
AddReg=V231h_H1.AddReg, 1920, DPMS
CopyFiles=V231h.CopyFiles

[V231h_H2.Install]
DelReg=DEL_CURRENT_REG
AddReg=V231h_H2.AddReg, 1920, DPMS
CopyFiles=V231h.CopyFiles

[V231h_A.Install]
DelReg=DEL_CURRENT_REG
AddReg=V231h_A.AddReg, 1920, DPMS
CopyFiles=V231h.CopyFiles

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

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

[DPMS]
HKR,,DPMS,,1

[V231h_H1.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30-80,50-60,+,+"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMProfile,0,"HP_V231h.icm"

[V231h_H2.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30-80,50-60,+,+"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMProfile,0,"HP_V231h.icm"

[V231h_A.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30-80,50-60,+,+"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMProfile,0,"HP_V231h.icm"

[V231h.CopyFiles]
HP_V231h.icm

[V231h_H1.Install.Services]                                         
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[V231h_H2.Install.Services]                                         
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[V231h_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"
V231h_H1="HP V231h Monitor"
V231h_H2="HP V231h Monitor"
V231h_A="HP V231h Monitor"
Disk="HP V231h Driver Software"
