; ------------------------------------------------
; Copyright (c) 2015 DELL Corporation
; revision 1
; This is a setupfile for D2216H
; ------------------------------------------------

[Version]
signature   = "$Windows NT$"
Class       = Monitor
ClassGuid   = {4D36E96E-E325-11CE-BFC1-08002BE10318}
Provider    = %DELL%
CatalogFile = D2216H.cat
DriverVer   = 07/28/2015,1.0.0.0

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
D2216H.icm=1

[DestinationDirs]
DefaultDestDir             = 12
D2216H_Analog.CopyFiles    = 23
D2216H_Digital.CopyFiles   = 23


[Manufacturer]
%DELL%=DELL,NTx86,NTAMD64

[DELL]
%D2216H_Analog%   = D2216H_Analog.Install, Monitor\DELD08A
%D2216H_Digital%  = D2216H_Digital.Install, Monitor\DELD08B


[DELL.NTx86]
%D2216H_Analog%   = D2216H_Analog.Install, Monitor\DELD08A
%D2216H_Digital%  = D2216H_Digital.Install, Monitor\DELD08B


[DELL.NTAMD64]
%D2216H_Analog%   = D2216H_Analog.Install, Monitor\DELD08A
%D2216H_Digital%  = D2216H_Digital.Install, Monitor\DELD08B

[ControlFlags]
ExcludeFromSelect = Monitor\DELD08A
ExcludeFromSelect = Monitor\DELD08B


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

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

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

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

[DPMS]
HKR,,DPMS,,1

[D2216H_Analog.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30.0-83.0,56.0-76.0,+,-"
HKR,,ICMProfile,0,"D2216H.icm"

[D2216H_Digital.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30.0-83.0,56.0-76.0,+,-"
HKR,,ICMProfile,0,"D2216H.icm"


[D2216H_Analog.CopyFiles]
D2216H.icm

[D2216H_Digital.CopyFiles]
D2216H.icm


[D2216H_Analog.Install.Services]
AddService = monitor, %SPSVCINST_ASSOCSERVICE%, Monitor_Service.Install

[D2216H_Digital.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"
DELL                   = "Dell Inc."
DiskName               = "Dell Monitor installation disk"
D2216H_Analog         = "Dell D2216H(Analog)"
D2216H_Digital          = "Dell D2216H(Digital)"