; ###############################################################
;
;   HP_HC240.inf
;
;   Ver. 2.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 HC240 Healthcare Edition Display.
; 
; ###############################################################


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

[ControlFlags]
ExcludeFromSelect = MONITOR\HPN3400
ExcludeFromSelect = MONITOR\HPN3401
ExcludeFromSelect = MONITOR\HPN3402
ExcludeFromSelect = MONITOR\HPN3403

[DestinationDirs]
DefaultDestDir=12
HC240.CopyFiles=23

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_HC240.icm=1

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

[HP]
%HC240_DP1%=HC240_DP1.Install, Monitor\HPN3400
%HC240_DP2%=HC240_DP2.Install, Monitor\HPN3401
%HC240_D%=HC240_D.Install, Monitor\HPN3402
%HC240_H%=HC240_H.Install, Monitor\HPN3403

[HP.NTx86]
%HC240_DP1%=HC240_DP1.Install, Monitor\HPN3400
%HC240_DP2%=HC240_DP2.Install, Monitor\HPN3401
%HC240_D%=HC240_D.Install, Monitor\HPN3402
%HC240_H%=HC240_H.Install, Monitor\HPN3403

[HP.NTamd64]
%HC240_DP1%=HC240_DP1.Install, Monitor\HPN3400
%HC240_DP2%=HC240_DP2.Install, Monitor\HPN3401
%HC240_D%=HC240_D.Install, Monitor\HPN3402
%HC240_H%=HC240_H.Install, Monitor\HPN3403

[HC240_DP1.Install]
DelReg=DEL_CURRENT_REG
AddReg=HC240_DP1.AddReg, 1920, DPMS
CopyFiles=HC240.CopyFiles

[HC240_DP2.Install]
DelReg=DEL_CURRENT_REG
AddReg=HC240_DP2.AddReg, 1920, DPMS
CopyFiles=HC240.CopyFiles

[HC240_D.Install]
DelReg=DEL_CURRENT_REG
AddReg=HC240_D.AddReg, 1920, DPMS
CopyFiles=HC240.CopyFiles

[HC240_H.Install]
DelReg=DEL_CURRENT_REG
AddReg=HC240_H.AddReg, 1920, DPMS
CopyFiles=HC240.CopyFiles

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

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

[DPMS]
HKR,,DPMS,,1

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

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

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

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

[HC240.CopyFiles]
HP_HC240.icm

[HC240_DP1.Install.Services]                                     
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[HC240_DP2.Install.Services]                                      
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[HC240_D.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[HC240_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"
HC240_DP1="HP HC240 Healthcare Edition Display"
HC240_DP2="HP HC240 Healthcare Edition Display"
HC240_D="HP HC240 Healthcare Edition Display"
HC240_H="HP HC240 Healthcare Edition Display"
Disk="HP HC240 Driver Software"
