; ###############################################################
;
;   HP_22xw_win8.inf        
;
;   Ver. 1.0.0.1
;   9/23/2014
;
;   Copyright (c)2014, Hewlett-Packard Development Company, L.P.
;   All Rights Reserved
;
;   This is a Microsoft Windows 8.0/8.1 setup information 
;   file for the HP Pavilion 22xw IPS LED Backlit Monitor.
; 
; ###############################################################

[Version]
signature="$WINDOWS NT$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%HP%
CatalogFile=HP_22xw_win8.cat
DriverVer=09/23/2014,1.0.0.1
PnpLockDown=1

[ControlFlags]
ExcludeFromSelect = MONITOR\HWP3185
ExcludeFromSelect = MONITOR\HWP3186

[DestinationDirs]
DefaultDestDir=12
22xw.CopyFiles=23

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_22xw.icm=1

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

[HP]
%22xw_H%=22xw_H.Install, Monitor\HWP3185
%22xw_A%=22xw_A.Install, Monitor\HWP3186

[HP.NTx86]
%22xw_H%=22xw_H.Install, Monitor\HWP3185
%22xw_A%=22xw_A.Install, Monitor\HWP3186

[HP.NTamd64]
%22xw_H%=22xw_H.Install, Monitor\HWP3185
%22xw_A%=22xw_A.Install, Monitor\HWP3186

[22xw_H.Install]
DelReg=DEL_CURRENT_REG
AddReg=22xw_H.AddReg, 1920, DPMS
CopyFiles=22xw.CopyFiles

[22xw_A.Install]
DelReg=DEL_CURRENT_REG
AddReg=22xw_A.AddReg, 1920, DPMS
CopyFiles=22xw.CopyFiles

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

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

[DPMS]
HKR,,DPMS,,1

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

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

[22xw.CopyFiles]
HP_22xw.icm

[22xw_H.Install.Services]                                         
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[22xw_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"
22xw_H="HP Pavilion 22xw IPS LED Backlit Monitor"
22xw_A="HP Pavilion 22xw IPS LED Backlit Monitor"
Disk="HP 22xw Driver Software"
