; ###############################################################
;
;   CPQ_S2021_win8.inf        
;
;   Ver. 2.0.0.0        
;   3/8/2013
;
;   Copyright (c)2013, Hewlett-Packard Development Company, L.P.
;   All Rights Reserved
;
;   This is a Microsoft Windows 8 setup information file
;   for the Compaq S2021 Wide LCD Monitor.
; 
; ###############################################################

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

[ControlFlags]
ExcludeFromSelect = MONITOR\HWP2901
ExcludeFromSelect = MONITOR\HWP2902

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
CPQ_S2021.icm=1

[DestinationDirs]
DefaultDestDir=11
S2021.CopyFiles=23

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

[HP]
%S2021_D%=S2021_D.Install, Monitor\HWP2901
%S2021_A%=S2021_A.Install, Monitor\HWP2902

[HP.NTx86]
%S2021_D%=S2021_D.Install, Monitor\HWP2901
%S2021_A%=S2021_A.Install, Monitor\HWP2902

[HP.NTamd64]
%S2021_D%=S2021_D.Install, Monitor\HWP2901
%S2021_A%=S2021_A.Install, Monitor\HWP2902

[S2021_D.Install]
DelReg=DEL_CURRENT_REG
AddReg=S2021_D.AddReg, 1600, DPMS
CopyFiles=S2021.CopyFiles

[S2021_A.Install]
DelReg=DEL_CURRENT_REG
AddReg=S2021_A.AddReg, 1600, DPMS
CopyFiles=S2021.CopyFiles

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

[1600]
HKR,,MaxResolution,,"1600,900"

[DPMS]
HKR,,DPMS,,1

[S2021_D.AddReg]
HKR,"MODES\1600,900",Mode1,,"24-83,50-76,+,+"
HKR,,PreferredMode,,"1600,900,60"
HKR,,ICMProfile,0x00010000,"sRGB Color Space Profile.icm"
HKR,,ICMProfile,0x00010008,"CPQ_S2021.icm"

[S2021_A.AddReg]
HKR,"MODES\1600,900",Mode1,,"24-83,50-76,+,+"
HKR,,PreferredMode,,"1600,900,60"
HKR,,ICMProfile,0x00010000,"sRGB Color Space Profile.icm"
HKR,,ICMProfile,0x00010008,"CPQ_S2021.icm"

[S2021.CopyFiles]
CPQ_S2021.icm

[S2021_D.Install.Services]                                        
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[S2021_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"
S2021_D="Compaq S2021 Wide LCD Monitor"
S2021_A="Compaq S2021 Wide LCD Monitor"
Disk="Compaq S2021 Driver Software"
