; ###############################################################
;
;   HP_E221i_win8.inf
;
;   Ver. 1.0.0.1        
;   11/20/2013
;
;   Copyright (c)2013, Hewlett-Packard Development Company, L.P.
;   All Rights Reserved
;
;   This is a Microsoft Windows 8.0/8.1 setup information file 
;   for the HP EliteDisplay E221i 21.5-inch IPS LCD Monitor.
; 
; ###############################################################

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

[ControlFlags]
ExcludeFromSelect = MONITOR\HWP314E
ExcludeFromSelect = MONITOR\HWP314F
ExcludeFromSelect = MONITOR\HWP3150

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_E221i.icm=1

[DestinationDirs]
DefaultDestDir=12
E221i.CopyFiles=23

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

[HP]
%E221i_DP%=E221i_DP.Install, Monitor\HWP314E
%E221i_D%=E221i_D.Install, Monitor\HWP314F
%E221i_A%=E221i_A.Install, Monitor\HWP3150

[HP.NTx86]
%E221i_DP%=E221i_DP.Install, Monitor\HWP314E
%E221i_D%=E221i_D.Install, Monitor\HWP314F
%E221i_A%=E221i_A.Install, Monitor\HWP3150

[HP.NTamd64]
%E221i_DP%=E221i_DP.Install, Monitor\HWP314E
%E221i_D%=E221i_D.Install, Monitor\HWP314F
%E221i_A%=E221i_A.Install, Monitor\HWP3150

[E221i_DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=E221i_DP.AddReg, 1920, DPMS
CopyFiles=E221i.CopyFiles

[E221i_D.Install]
DelReg=DEL_CURRENT_REG
AddReg=E221i_D.AddReg, 1920, DPMS
CopyFiles=E221i.CopyFiles

[E221i_A.Install]
DelReg=DEL_CURRENT_REG
AddReg=E221i_A.AddReg, 1920, DPMS
CopyFiles=E221i.CopyFiles

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

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

[DPMS]
HKR,,DPMS,,1

[E221i_DP.AddReg]
HKR,"MODES\1920,1080",Mode1,,"24-94,50-76,+,+"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMProfile,0x00010000,"sRGB Color Space Profile.icm"
HKR,,ICMProfile,0x00010008,"HP_E221i.icm"

[E221i_D.AddReg]
HKR,"MODES\1920,1080",Mode1,,"24-94,50-76,+,+"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMProfile,0x00010000,"sRGB Color Space Profile.icm"
HKR,,ICMProfile,0x00010008,"HP_E221i.icm"

[E221i_A.AddReg]
HKR,"MODES\1920,1080",Mode1,,"24-94,50-76,+,+"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMProfile,0x00010000,"sRGB Color Space Profile.icm"
HKR,,ICMProfile,0x00010008,"HP_E221i.icm"

[E221i.CopyFiles]
HP_E221i.icm

[E221i_DP.Install.Services]                                     
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[E221i_D.Install.Services]                                      
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[E221i_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"
E221i_DP="HP EliteDisplay E221i LED Backlit Monitor"
E221i_D="HP EliteDisplay E221i LED Backlit Monitor"
E221i_A="HP EliteDisplay E221i LED Backlit Monitor"
Disk="HP E221i Driver Software"
