; ################################################################
;
;   HP_S2231_win8.inf        
;
;   Ver. 1.0.0.1
;   11/19/2012
;
;   Copyright (c)2012, Hewlett-Packard Development Company, L.P.
;   All Rights Reserved
;
;   This is a Microsoft Windows 8 setup information file
;   for the HP S2231 Series Wide LCD Monitors.
; 
; ################################################################

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

[ControlFlags]
ExcludeFromSelect = MONITOR\HWP2905
ExcludeFromSelect = MONITOR\HWP2906

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_S2231.icm=1

[DestinationDirs]
DefaultDestDir=12
S2231.CopyFiles=23

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

[HP]
%S2231_D%=S2231_D.Install, Monitor\HWP2905
%S2231_A%=S2231_A.Install, Monitor\HWP2906

[HP.NTx86]
%S2231_D%=S2231_D.Install, Monitor\HWP2905
%S2231_A%=S2231_A.Install, Monitor\HWP2906

[HP.NTamd64]
%S2231_D%=S2231_D.Install, Monitor\HWP2905
%S2231_A%=S2231_A.Install, Monitor\HWP2906

[S2231_D.Install]
DelReg=DEL_CURRENT_REG
AddReg=S2231_D.AddReg, 1920, DPMS
CopyFiles=S2231.CopyFiles

[S2231_A.Install]
DelReg=DEL_CURRENT_REG
AddReg=S2231_A.AddReg, 1920, DPMS
CopyFiles=S2231.CopyFiles

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

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

[DPMS]
HKR,,DPMS,,1

[S2231_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_S2231.icm"

[S2231_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_S2231.icm"

[S2231.CopyFiles]
HP_S2231.icm

[S2231_D.Install.Services]                                                                                   
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[S2231_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"
S2231_D="HP S2231 Series Wide LCD Monitor"
S2231_A="HP S2231 Series Wide LCD Monitor"
Disk="HP S2231 Driver Software"

