; ###################################################################
;
;   HP_OMEN_35.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 OMEN X by HP 35 Curved Display.
; 
; ###################################################################

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

[ControlFlags]
ExcludeFromSelect = MONITOR\HPN3380
ExcludeFromSelect = MONITOR\HPN3381

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_OMEN_35.icm=1

[DestinationDirs]
DefaultDestDir=12
OMEN35.CopyFiles=23

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

[HP]
%OMEN35_DP%=OMEN35_DP.Install, Monitor\HPN3380
%OMEN35_H1%=OMEN35_H1.Install, Monitor\HPN3381

[HP.NTx86]
%OMEN35_DP%=OMEN35_DP.Install, Monitor\HPN3380
%OMEN35_H1%=OMEN35_H1.Install, Monitor\HPN3381

[HP.NTamd64]
%OMEN35_DP%=OMEN35_DP.Install, Monitor\HPN3380
%OMEN35_H1%=OMEN35_H1.Install, Monitor\HPN3381

[OMEN35_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=OMEN35_DP.AddReg, 3440, DPMS
CopyFiles=OMEN35.CopyFiles

[OMEN35_H1.Install]
DelReg=DEL_CURRENT_REG
AddReg=OMEN35_H1.AddReg, 3440, DPMS
CopyFiles=OMEN35.CopyFiles

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

[3440]
HKR,,MaxResolution,,"3440,1440"

[DPMS]
HKR,,DPMS,,1

[OMEN35_DP.AddReg]
HKR,"MODES\3440,1440",Mode1,,"73-151,30-100,+,-"
HKR,,PreferredMode,,"3440,1440,60"
HKR,,ICMProfile,0,"HP_OMEN_35.icm"

[OMEN35_H1.AddReg]
HKR,"MODES\3440,1440",Mode1,,"30-140,24-60,+,-"
HKR,,PreferredMode,,"3440,1440,60"
HKR,,ICMProfile,0,"HP_OMEN_35.icm"

[OMEN35.CopyFiles]
HP_OMEN_35.icm

[OMEN35_DP.Install.Services]                                                                           
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[OMEN35_H1.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"
OMEN35_DP="OMEN X by HP 35 Curved Display"
OMEN35_H1="OMEN X by HP 35 Curved Display"
Disk="HP OMEN 35 Driver Software"