; ##################################################################
;
;   HP_P232.inf        
;
;   Ver. 3.0.0.0
;   9/27/2015
;
;   Copyright (c)2015, Hewlett-Packard Development Company, L.P.
;   All Rights Reserved
;
;   This is a Microsoft Windows 8.0/8.1/10 setup information file
;   for the HP ProDisplay P232 LCD Monitor.
; 
; ##################################################################

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

[ControlFlags]
ExcludeFromSelect = MONITOR\HWP322E
ExcludeFromSelect = MONITOR\HWP322F

[SourceDisksNames]
1=%Disk%,,,

[SourceDisksFiles]
HP_P232.icm=1

[DestinationDirs]
DefaultDestDir=12
P232.CopyFiles=23

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

[HP]
%P232_D%=P232_D.Install, Monitor\HWP322E
%P232_A%=P232_A.Install, Monitor\HWP322F

[HP.NTx86]
%P232_D%=P232_D.Install, Monitor\HWP322E
%P232_A%=P232_A.Install, Monitor\HWP322F

[HP.NTamd64]
%P232_D%=P232_D.Install, Monitor\HWP322E
%P232_A%=P232_A.Install, Monitor\HWP322F

[P232_D.Install]
DelReg=DEL_CURRENT_REG
AddReg=P232_D.AddReg, 1920, DPMS
CopyFiles=P232.CopyFiles

[P232_A.Install]
DelReg=DEL_CURRENT_REG
AddReg=P232_A.AddReg, 1920, DPMS
CopyFiles=P232.CopyFiles

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

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

[DPMS]
HKR,,DPMS,,1

[P232_D.AddReg]
HKR,"MODES\1920,1080",Mode1,,"24-80,50-60,+,+"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMProfile,0,"HP_P232.icm"

[P232_A.AddReg]
HKR,"MODES\1920,1080",Mode1,,"24-80,50-60,+,+"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMProfile,0,"HP_P232.icm"

[P232.CopyFiles]
HP_P232.icm

[P232_D.Install.Services]                                                                           
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install
[P232_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"
P232_D="HP ProDisplay P232 Monitor"
P232_A="HP ProDisplay P232 Monitor"
Disk="HP P232 Driver Software"