; p242w.inf
; Setup information file for NEC MultiSync P242W Monitor
;
; Copyright (C) 2013, NEC Display Solutions, Ltd.
;-------------------------------------------------
[Version]
signature="$CHICAGO$"
Class=Monitor
ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider=%NECDS%
CatalogFile=p242w.cat
DriverVer=01/30/2013,1.13.0130.1714

[ControlFlags]
ExcludeFromSelect.nt=Monitor\NEC68FF
ExcludeFromSelect.nt=Monitor\NEC6900
ExcludeFromSelect.nt=Monitor\NEC6901
ExcludeFromSelect.nt=Monitor\NEC6902

[DestinationDirs]
P242W.CopyFiles=23
DefaultDestDir=11

[SourceDisksNames]
1=%Disk1%,,,

[SourceDisksFiles]
p242w.icm=1

[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

; Manufacturers
;-------------------------------------------------
[Manufacturer]
%NECDS%=NECDS,ntamd64

; Manufacturer sections
;-------------------------------------------------
[NECDS]
%P242W-A%=P242W-A.Install, Monitor\NEC68FF
%P242W-D%=P242W-D.Install, Monitor\NEC6900
%P242W-HD%=P242W-HD.Install, Monitor\NEC6901
%P242W-DP%=P242W-DP.Install, Monitor\NEC6902

[NECDS.ntamd64]
%P242W-A%=P242W-A.Install.ntamd64, Monitor\NEC68FF
%P242W-D%=P242W-D.Install.ntamd64, Monitor\NEC6900
%P242W-HD%=P242W-HD.Install.ntamd64, Monitor\NEC6901
%P242W-DP%=P242W-DP.Install.ntamd64, Monitor\NEC6902

; Install Sections
;-------------------------------------------------
[P242W-A.Install]
DelReg=DEL_CURRENT_REG
AddReg=P242W-A.AddReg, 1920, DPMS
CopyFiles=P242W.CopyFiles

[P242W-D.Install]
DelReg=DEL_CURRENT_REG
AddReg=P242W-D.AddReg, 1920, DPMS
CopyFiles=P242W.CopyFiles

[P242W-HD.Install]
DelReg=DEL_CURRENT_REG
AddReg=P242W-HD.AddReg, 1920, DPMS
CopyFiles=P242W.CopyFiles

[P242W-DP.Install]
DelReg=DEL_CURRENT_REG
AddReg=P242W-DP.AddReg, 1920, DPMS
CopyFiles=P242W.CopyFiles

[P242W-A.Install.ntamd64]
DelReg=DEL_CURRENT_REG
AddReg=P242W-A.AddReg, 1920, DPMS
CopyFiles=P242W.CopyFiles

[P242W-D.Install.ntamd64]
DelReg=DEL_CURRENT_REG
AddReg=P242W-D.AddReg, 1920, DPMS
CopyFiles=P242W.CopyFiles

[P242W-HD.Install.ntamd64]
DelReg=DEL_CURRENT_REG
AddReg=P242W-HD.AddReg, 1920, DPMS
CopyFiles=P242W.CopyFiles

[P242W-DP.Install.ntamd64]
DelReg=DEL_CURRENT_REG
AddReg=P242W-DP.AddReg, 1920, DPMS
CopyFiles=P242W.CopyFiles


[P242W-A.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install; install monitor class function driver

[P242W-D.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install; install monitor class function driver

[P242W-HD.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install; install monitor class function driver

[P242W-DP.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install; install monitor class function driver

[P242W-A.Install.ntamd64.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install; install monitor class function driver

[P242W-D.Install.ntamd64.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install; install monitor class function driver

[P242W-HD.Install.ntamd64.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install; install monitor class function driver

[P242W-DP.Install.ntamd64.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%,Monitor_Service.Install; install monitor class function driver


; AddReg & DelReg sections
;-------------------------------------------------
[DEL_CURRENT_REG]
HKR,MODES
HKR,,MaxResolution
HKR,,DPMS
HKR,,ICMProfile

; Pre-defined AddReg sections
[1920]
HKR,,MaxResolution,,"1920,1200"

[DPMS]
HKR,,DPMS,,1

; Model AddReg sections
[P242W-A.AddReg]
HKR,"MODES\1920,1200",Mode1,,"31.0-95.0,50.0-85.0,+,+"
HKR,,ICMProfile,0,"p242w.icm"

[P242W-D.AddReg]
HKR,"MODES\1920,1200",Mode1,,"31.0-95.0,50.0-85.0,+,+"
HKR,,ICMProfile,0,"p242w.icm"

[P242W-HD.AddReg]
HKR,"MODES\1920,1200",Mode1,,"31.0-95.0,50.0-85.0,+,+"
HKR,,ICMProfile,0,"p242w.icm"

[P242W-DP.AddReg]
HKR,"MODES\1920,1200",Mode1,,"31.0-95.0,50.0-85.0,+,+"
HKR,,ICMProfile,0,"p242w.icm"

; CopyFiles section
;-------------------------------------------------
[P242W.CopyFiles]
p242w.icm

; User visible strings
;-------------------------------------------------
[Strings]
NECDS="NEC"
P242W-A="NEC MultiSync P242W(Analog)"
P242W-D="NEC MultiSync P242W(Digital)"
P242W-HD="NEC MultiSync P242W(HDMI)"
P242W-DP="NEC MultiSync P242W(DisplayPort)"
Disk1="NEC Monitor Installation Disk"

SPSVCINST_ASSOCSERVICE = 0x00000002
Monitor.SVCDESC = "Microsoft Monitor Class Function Driver Service"