;
; SPCA501C.INF  -- This file contains installation information for SPCA501C,
;                  A WDM capture driver that requires video camera with SPCA501C
;               
;*** Created 04/27/99  (Creation Date)
;*** Driver for HyunDai CMOS sensor
;*** VERSION 2.0 (4/7)
'

[Version]
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Sunplus%

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
%SunplusMfg%=Sunplus

[DestinationDirs]
SPCA501C.CopyDrivers=10,system32\drivers
SPCA501C.CopyCodec=11
SPCA501C.CopyVfwExt=11
SPCA501C.CopyTwain=10,twain_32\ca501c
SPCA501C.CopyTwainIni=10

;---------------------------------------------------------------
;                S U N P L U S
;
;               S P C A 5 0 1 C
;---------------------------------------------------------------

[Sunplus]
%SPCA501C.DeviceDesc%=SPCA501C.Device,USB\VID_1776&PID_501C

[SPCA501C.Device]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration,MSPCLOCK.Installation
DelReg=     SPCA501C.DelReg           ; Add uninstall entries
AddReg=     SPCA501C.AddReg
UpdateInis= SPCA501C.UpdateInis
CopyFiles=  SPCA501C.CopyDrivers,SPCA501C.CopyCodec,SPCA501C.CopyVfwExt,SPCA501C.CopyTwain,SPCA501C.CopyTwainIni
KnownFiles= SPCA501C.KnownFiles

[SPCA501C.Device.NT]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
DelReg=     SPCA501C.DelReg           ; Add uninstall entries
AddReg=     SPCA501C.AddReg
UpdateInis= SPCA501C.UpdateInis
CopyFiles=  SPCA501C.CopyDrivers,SPCA501C.CopyCodec,SPCA501C.CopyVfwExt,SPCA501C.CopyTwain,SPCA501C.CopyTwainIni

[SPCA501C.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,SPCA501C.SYS
HKR,,PageOutWhenUnopened,3,01
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKLM,Software\CA501C\Ucam,"TWAIN Use Button",0x10001,00,00,00,00
HKLM,Software\CA501C\CA501CCONTROL,"74xx74",0x10001,0
HKLM,Software\CA501C\OPTION\AESETTING,"AEMETHOD",0x10001,3
HKLM,Software\CA501C\OPTION\AESETTING,"MaxShutterValue",0x10001,00,17,00,00
HKLM,Software\CA501C\OPTION\AESETTING,"MinShutterValue",0x10001,0a,00,00,00
HKLM,Software\CA501C\OPTION\AESETTING,"AETYPE",0x10001,3
HKLM,Software\CA501C\CA501CCONTROL,"BandWidthSetting",0x10001,7
HKLM,Software\CA501C\CA501CCONTROL,"ColorMatrix",0x10001,0

HKLM,Software\CA501C\DEFAULT,"Brightness",0x10001,128
HKLM,Software\CA501C\DEFAULT,"Hue",0x10001,180
HKLM,Software\CA501C\DEFAULT,"Contrast",0x10001,10
HKLM,Software\CA501C\DEFAULT,"Saturation",0x10001,10
HKLM,Software\CA501C\DEFAULT,"Sharpness",0x10001,2
HKLM,Software\CA501C\DEFAULT,"Whitebalance",0x10001,39
HKLM,Software\CA501C\DEFAULT,"MaxWhitebalance",0x10001,48

[SPCA501C.UpdateInis]
system.ini,drivers32,,"VIDC.IYUV=IYUV_32.DLL"
system.ini,drivers32,,"VIDC.SP30=SP30_32.DLL"
system.ini,drivers32,,"VIDC.SP31=SP3X_32.DLL"
system.ini,drivers32,,"VIDC.SP32=SP3X_32.DLL"
system.ini,drivers32,,"VIDC.SP33=SP3X_32.DLL"
system.ini,drivers32,,"VIDC.SP34=SP3X_32.DLL"
system.ini,drivers32,,"VIDC.SP35=SP3X_32.DLL"
system.ini,drivers32,,"VIDC.SP36=SP3X_32.DLL"
system.ini,drivers32,,"VIDC.SP37=SP3X_32.DLL"

[SPCA501C.CopyDrivers]
SPCA501C.SYS
;USBCAMD.SYS
STREAM.SYS

[SPCA501C.CopyCodec]
IYUV_32.DLL
SP30_32.DLL
SP3X_32.DLL

[SPCA501C.CopyVfwExt]
VFWEXT1C.DLL

[SPCA501C.CopyTwain]
TW501C.DS

[SPCA501C.CopyTwainIni]
TW501C.INI
TW501C.SRC

[SPCA501C.KnownFiles]
SPCA501C.SYS=safe

[SPCA501C.Device.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,

[SPCA501C.Device.NT.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,

[VideoCapture]
AddReg=VideoCapture.AddReg

[VideoCapture.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%SPCA501C.Capture%
HKR,,ExtensionDLL,,%SPCA501C.ExtensionDLL%

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

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

[SPCA501C.DelReg]
HKLM,SOFTWARE\CA501C

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

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

[Strings]

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

SERVICE_KERNEL_DRIVER=1
SERVICE_AUTO_START=2
SERVICE_ERROR_NORMAL=1

; IHV's extension DLL
SPCA501C.ExtensionDLL = "VFWEXT1C.DLL"

;----------------
; Localizable
;----------------

Sunplus=             "Sunplus"
SunplusMfg=          "Sunplus"
SPCA501C.DeviceDesc= "USB CMOS CAMERA"
SPCA501C.Capture=    "USB CMOS CAMERA, Version 2.0"
SP30.DeviceDesc=     "SP30 Video Compressor and Decompressor"
SP3X.DeviceDesc=     "SP3X Video Compressor and Decompressor"
