; ##################################################################
;
;   HP_20kd.inf        
;
;   Ver. 2.1.0.0
;
;   Copyright (c)2017, HP Development Company, L.P.
;   All Rights Reserved
;
;   This is a Microsoft Windows x86/x64 setup information 
;   file for the HP 20kd LED Backlit LCD Monitor.
; 
; ##################################################################

[Version]
signature="$WINDOWS NT$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%HP%
CatalogFile=HP_20kd.cat
DriverVer=04/30/2017,2.1.0.0
PnpLockDown=1

[ControlFlags]
ExcludeFromSelect = MONITOR\HWP332E
ExcludeFromSelect = MONITOR\HWP332F

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

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_20kd.icm=1

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

[HP]
%20kd_D%=20kd_D.Install, Monitor\HWP332E
%20kd_A%=20kd_A.Install, Monitor\HWP332F

[HP.NTx86]
%20kd_D%=20kd_D.Install, Monitor\HWP332E
%20kd_A%=20kd_A.Install, Monitor\HWP332F

[HP.NTamd64]
%20kd_D%=20kd_D.Install, Monitor\HWP332E
%20kd_A%=20kd_A.Install, Monitor\HWP332F

[20kd_D.Install]
DelReg=DEL_CURRENT_REG
AddReg=20kd_D.AddReg, 1440, DPMS
CopyFiles=20kd.CopyFiles

[20kd_A.Install]
DelReg=DEL_CURRENT_REG
AddReg=20kd_A.AddReg, 1440, DPMS
CopyFiles=20kd.CopyFiles

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

[1440]
HKR,,MaxResolution,,"1440,900"

[DPMS]
HKR,,DPMS,,1

[20kd_D.AddReg]
HKR,"MODES\1440,900",Mode1,,"30-70,50-60,-,+"
HKR,,PreferredMode,,"1440,900,60"
HKR,,ICMProfile,0,"HP_20kd.icm"

[20kd_A.AddReg]
HKR,"MODES\1440,900",Mode1,,"30-70,50-60,-,+"
HKR,,PreferredMode,,"1440,900,60"
HKR,,ICMProfile,0,"HP_20kd.icm"

[20kd.CopyFiles]
HP_20kd.icm

[20kd_D.Install.Services]                                         
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[20kd_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"
20kd_D="HP 20kd Display"
20kd_A="HP 20kd Display"
Disk="HP 20kd Driver Software"
