;
; CA500AV.INF  --       This file contains installation information
;                       for the video device of the
;                       D-Link DSC-350.
;
; 2000/07/17   Modified by Joseph Hsu
;              Copy all files of ks.inf, kscaptur.inf, ksfilter.inf and dshowext.inf
;
; *** revised 01-04-2001: 
; D-Link DSC-350 version 1.3.2.0
;
[Version]
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%D-Link%
LayoutFile=LAYOUT.INF
DriverVer=02/16/2000

[ControlFlags]

[Manufacturer]
%D-LinkMfg%=D-Link

[DestinationDirs]
CA500AV.CopyDrivers=10,system32\drivers
CA500AV.CopyCodec=11
CA500AV.CopyVfwExt=11
CA500AV.DelDrivers=10,system32\drivers
CA500AV.DelCodec=11
CA500AV.DelVfwExt=11

;---------------------------------------------------------------
;                      D-Link DSC-350
;---------------------------------------------------------------

[D-Link]
%CA500AV.DeviceDesc%=CA500AV.Device,USB\VID_084d&PID_0003&MI_00

[CA500AV.Device]
Include=    ks.inf,kscaptur.inf,ksfilter.inf,dshowext.inf
Needs=      KS.Registration,KSCAPTUR.Registration,MSPCLOCK.Installation
DelReg=     CA500AV.DelReg           ; Add uninstall entries
AddReg=     CA500AV.AddReg
UpdateInis= CA500AV.UpdateInis
DelFiles=   CA500AV.DelDrivers,CA500AV.DelCodec,CA500AV.DelVfwExt
CopyFiles=  CA500AV.CopyDrivers,CA500AV.CopyCodec,CA500AV.CopyVfwExt
KnownFiles= CA500AV.KnownFiles

[CA500AV.Device.NT]
Include=    ks.inf,kscaptur.inf,ksfilter.inf,dshowext.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
DelReg=     CA500AV.DelReg           ; Add uninstall entries
AddReg=     CA500AV.AddReg
UpdateInis= CA500AV.UpdateInis
DelFiles=   CA500AV.DelDrivers,CA500AV.DelCodec,CA500AV.DelVfwExt
CopyFiles=  CA500AV.CopyDrivers,CA500AV.CopyCodec,CA500AV.CopyVfwExt

[CA500AV.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,CA500AV.SYS
HKR,,PageOutWhenUnopened,3,01
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKLM,Software\CA500A\CA500ACONTROL,"MicVolume",0x10001,0x0040
HKLM,Software\CA500A\CA500ACONTROL,"LineInVolume",0x10001,0x0e0e
HKLM,Software\CA500A\CA500ACONTROL,"PcmOutVol",0x10001,0x0000
HKLM,Software\CA500A\CA500ACONTROL,"RecordSelect",0x10001,0x0000
HKLM,Software\CA500A\CA500ACONTROL,"RecordGain",0x10001,0x0f0f

HKLM,Software\CA500A\CA500ACONTROL,"DRAM1M",0x10001,000
HKLM,Software\CA500A\CA500ACONTROL,"EnableAE",0x10001,00
HKLM,Software\CA500A\CA500ACONTROL,"Interface",0x10001,0x06
HKLM,Software\CA500A\CA500ACONTROL,"SensorType",0x10001,0x00
HKLM,Software\CA500A\CA500ACONTROL,"NoQTbl",0x10001,0x02
HKLM,Software\CA500A\CA500ACONTROL,"ShowFrameRate",0x10001,0x01  
HKLM,Software\CA500A\CA500ACONTROL,"EnableAWB",0x10001,00
HKLM,Software\CA500A\CA500ACONTROL,"AESpeed",0x10001,00

HKLM,Software\CA500A\VIDEOPROCAMP,"Brightness",0x10001,0x0
HKLM,Software\CA500A\VIDEOPROCAMP,"Contrast",0x10001,0x20
HKLM,Software\CA500A\VIDEOPROCAMP,"Hue",0x10001,0x0
HKLM,Software\CA500A\VIDEOPROCAMP,"Saturation",0x10001,0x20
HKLM,Software\CA500A\VIDEOPROCAMP,"Sharpness",0x10001,0x60
HKLM,Software\CA500A\VIDEOPROCAMP,"Gamma",0x10001,0x1
HKLM,Software\CA500A\VIDEOPROCAMP,"Whitebalance",0x10001,0x00

HKLM,Software\CA500A\VIDEOPROCAMP,"R_Gain",0x10001,0x00
HKLM,Software\CA500A\VIDEOPROCAMP,"B_Gain",0x10001,0x00
HKLM,Software\CA500A\VIDEOPROCAMP,"AWB",0x10001,0x00

HKLM,Software\CA500A\COMERACONTROL,"Exposure",0x10001,0x00

;
; For add/remove programs applet
;
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%UninstallString%,"DisplayName",0,%UninstallDisplayString%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%UninstallString%,"UninstallString",0,"%11%\DualUnis.exe"
;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%UninstallString%,"UninstallString",0,"RunDll32.exe setupapi.dll InstllHinfSection DefaultUninstall 4 ca500av.inf"

[CA500AV.UpdateInis]
system.ini,drivers32,,"VIDC.I420=IYUV_32.DLL"
system.ini,drivers32,,"VIDC.IYUV=IYUV_32.DLL"
system.ini,drivers32,,"VIDC.SP50=SP5X_32.DLL"
system.ini,drivers32,,"VIDC.SP51=SP5X_32.DLL"
system.ini,drivers32,,"VIDC.SP52=SP5X_32.DLL"
system.ini,drivers32,,"VIDC.SP53=SP5X_32.DLL"
system.ini,drivers32,,"VIDC.SP54=SP5X_32.DLL"
system.ini,drivers32,,"VIDC.SP55=SP5X_32.DLL"
system.ini,drivers32,,"VIDC.SP56=SP5X_32.DLL"
system.ini,drivers32,,"VIDC.SP57=SP5X_32.DLL"
system.ini,drivers32,,"VIDC.SP58=SP5X_32.DLL"
system.ini,drivers32,,"VIDC.SP59=SP5X_32.DLL"
                                    
[SourceDisksNames]
1="DSC-350 Drivers Installation CD","",1 

[SourceDisksFiles]
CA500AV.SYS = 1,,,,,
SP5X_32.DLL = 1,,,,,
Ca500Ext.dll = 1,,,,,
IYUV_32.DLL = 1,,,,,
stream.sys = 1,,,,,
minbulk.sys = 1,,,,,
ca500ds.ax = 1,,,,,
                                    
[CA500AV.CopyDrivers]
CA500AV.SYS
minbulk.sys
ks.sys
mspclock.sys
mskssrv.sys

[CA500AV.CopyCodec]
;SP5X_32.DLL
ksuser.dll
ksproxy.ax
ksinterf.ax
ksdata.ax
ksvpintf.ax
ksclockf.ax
kstvtune.ax
ksxbar.ax
kswdmcap.ax
vfwwdm32.dll

[CA500AV.CopyVfwExt]
SP5X_32.DLL
Ca500Ext.dll
Ca500ds.ax
IYUV_32.DLL
stream.sys

[CA500AV.KnownFiles]
CA500AV.SYS=safe

[CA500AV.Device.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,"GLOBAL",VideoCapture,

[CA500AV.Device.NT.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,"GLOBAL",VideoCapture,

[VideoCapture]
AddReg=VideoCapture.AddReg

[VideoCapture.AddReg]
HKR,,CLSID,,%ProxyVCap.CLSID%
HKR,,FriendlyName,,%CA500AV.Capture%
HKR,,ExtensionDLL,,%CA500AV.ExtensionDLL%
HKR,PageAliases,"{71F96464-78F3-11d0-A18C-00A0C9118956}",1,21,E8,C2,3D, 13,47, d2,11, 0xba, 0x41, 0x0, 0xa0, 0xc9, 0xd, 0x2b, 0x5
HKR,PinFactory\1\Interfaces\{5BB95400-52BB-11d2-BA41-00A0C90D2B05},,,{5BB95400-52BB-11d2-BA41-00A0C90D2B05}

[CA500AV.Device.Services]
AddService = CA500AV,0x00000002,CA500AV.ServiceInstall

[CA500AV.Device.NT.Services]
AddService = CA500AV,0x00000002,CA500AV.ServiceInstall

[CA500AV.ServiceInstall]
DisplayName   = %CA500AV.DeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\CA500AV.SYS

[CA500AV.DelReg]
HKLM,SOFTWARE\CA500A\CA500ACONTROL
HKLM,SOFTWARE\CA500A\VIDEOPROCAMP
HKLM,SOFTWARE\CA500A\STANDARD
HKLM,SOFTWARE\CA500A\NTSC
HKLM,SOFTWARE\CA500A\PAL
HKLM,SOFTWARE\CA500A\PERFORMANCE


[CA500AV.DelDrivers]
;CA500AV.SYS

[CA500AV.DelCodec]
;SP5X_32.DLL

[CA500AV.DelVfwExt]
;Ca500Ext.dll

;---------------------------------------------------------------
;                S t r i n g s
;---------------------------------------------------------------

[Strings]

;----------------
; Non-Localizable
;----------------


; note: only register value is case sensitive, key is not.
ProxyVCap.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
SERVICE_KERNEL_DRIVER=1

; PnP should use demand start
SERVICE_AUTO_START=2
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1

; IHV's extension DLL
CA500AV.ExtensionDLL = "Ca500Ext.dll"

;----------------
; Localizable
;----------------
D-Link=             "D-Link"   
D-LinkMfg=          "D-Link"
CA500AV.DeviceDesc=  "D-Link, WDM Video Capture"
CA500AV.Capture=     "D-Link, WDM Video Capture 2000.0"
SP5X.DeviceDesc=     "SP5X Video Compressor and Decompressor"

UninstallString="D-Link DSC 350"
UninstallDisplayString="D-Link DSC 350 Driver"
