; ##################################################################
;
;   HP_20bw.inf        
;
;   Ver. 3.0.0.0
;   6/24/2015
;
;   Copyright (c)2015, Hewlett-Packard Development Company, L.P.
;   All Rights Reserved
;
;   This is a Microsoft Windows Windows x86/x64 setup information 
;   file for the HP Pavilion 20bw IPS LED Backlit Monitor.
; 
; ##################################################################

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

[ControlFlags]
ExcludeFromSelect = MONITOR\HWP302B
ExcludeFromSelect = MONITOR\HWP302C

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_20bw.icm=1

[DestinationDirs]
DefaultDestDir=12
20bw.CopyFiles=23

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

[HP]
%20bw_D%=20bw_D.Install, Monitor\HWP302B
%20bw_A%=20bw_A.Install, Monitor\HWP302C

[HP.NTx86]
%20bw_D%=20bw_D.Install, Monitor\HWP302B
%20bw_A%=20bw_A.Install, Monitor\HWP302C

[HP.NTamd64]
%20bw_D%=20bw_D.Install, Monitor\HWP302B
%20bw_A%=20bw_A.Install, Monitor\HWP302C

[20bw_D.Install]
DelReg=DEL_CURRENT_REG
AddReg=20bw_D.AddReg, 1600, DPMS
CopyFiles=20bw.CopyFiles

[20bw_A.Install]
DelReg=DEL_CURRENT_REG
AddReg=20bw_A.AddReg, 1600, DPMS
CopyFiles=20bw.CopyFiles

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

[1600]
HKR,,MaxResolution,,"1600,900"

[DPMS]
HKR,,DPMS,,1

[20bw_D.AddReg]
HKR,"MODES\1600,900",Mode1,,"24-83,50-76,+,+"
HKR,,PreferredMode,,"1600,900,60"
HKR,,ICMProfile,0,"HP_20bw.icm"

[20bw_A.AddReg]
HKR,"MODES\1600,900",Mode1,,"24-83,50-76,+,+"
HKR,,PreferredMode,,"1600,900,60"
HKR,,ICMProfile,0,"HP_20bw.icm"

[20bw.CopyFiles]
HP_20bw.icm

[20bw_D.Install.Services]                                                                                   
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[20bw_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"
20bw_D="HP Pavilion 20bw IPS LED Backlit Monitor"
20bw_A="HP Pavilion 20bw IPS LED Backlit Monitor"
Disk="HP 20bw Driver Software"

