; ################################################################
;
;   HP_N240h.inf        
;
;   Ver. 1.0.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 N240h Monitor.
; 
; ################################################################

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

[ControlFlags]
ExcludeFromSelect = MONITOR\HPN3516
ExcludeFromSelect = MONITOR\HPN3517

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_N240h.icm=1

[DestinationDirs]
DefaultDestDir=12
N240h.CopyFiles=23

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

[HP]
%N240h_H%=N240h_H.Install, Monitor\HPN3516
%N240h_A%=N240h_A.Install, Monitor\HPN3517

[HP.NTx86]
%N240h_H%=N240h_H.Install, Monitor\HPN3516
%N240h_A%=N240h_A.Install, Monitor\HPN3517

[HP.NTamd64]
%N240h_H%=N240h_H.Install, Monitor\HPN3516
%N240h_A%=N240h_A.Install, Monitor\HPN3517

[N240h_H.Install]
DelReg=DEL_CURRENT_REG
AddReg=N240h_H.AddReg, 1920, DPMS
CopyFiles=N240h.CopyFiles

[N240h_A.Install]
DelReg=DEL_CURRENT_REG
AddReg=N240h_A.AddReg, 1920, DPMS
CopyFiles=N240h.CopyFiles

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

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

[DPMS]
HKR,,DPMS,,1

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

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

[N240h.CopyFiles]
HP_N240h.icm

[N240h_H.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[N240h_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"
N240h_H="HP N240h Monitor"
N240h_A="HP N240h Monitor"
Disk="HP N240h Driver Software"
