;==========================================================================
; PC Camera (SN9C102, VID=0C45&PID=600d) INF (for Windows 98/ME/2000/XP)
; Copyright(c) 2002 Chicony Electronics Co., Ltd.
; File version: 1.0.0.0
; Last modified: 2003-02-26
;==========================================================================

[Version]
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%SX%
CatalogFile.NT=cccp106.cat
DriverVer = 02/26/2003,2.23.0.0

[SourceDisksNames]
1 = %SrcDiskId%,,,

[SourceDisksFiles] ; files for Windows 98/ME
cccp106.sys = 1,.\WIN98,
cccp106.ds = 1,,
cccp106.ini = 1,,
cccp106.src = 1,,
dcccp106.ax = 1,,
vcccp106.dll = 1,,
dcccp106.dll = 1,,
;vcccp106.exe = 1,,
;dcccp106.exe = 1,,
;ucccp106.exe = 1,,
CleanDev.exe= 1,,
DC2110a.ini= 1,,
select2.exe= 1
[SourceDisksFiles.x86] ; files for Windows 2000/XP
cccp106.sys = 1,.\WINXP
cccp106.ds = 1
cccp106.ini = 1
cccp106.src = 1
dcccp106.ax = 1
vcccp106.dll = 1
dcccp106.dll = 1
;vcccp106.exe = 1
;dcccp106.exe = 1
;ucccp106.exe = 1
CleanDev.exe= 1
DC2110a.ini= 1
select2.exe= 1
[DestinationDirs]
DefaultDestDir=11,               ; LDID_SYS
SX.USBDCam.CopyMsWdmDrivers=10,system32\drivers
SX.USBDCam.CopyDrivers=10,system32\drivers
SX.USBDCam.copytwain=10,twain_32\cccp106
SX.USBDCam.copytwainIni=10,
SN.CopySTDFiles=11,
SN.CopyVfwExt=11,
;SN.CopySnapViewer = 10,
SN.CopyUninstall = 10,

[Manufacturer]
%SXTIMfg%=SN

[SN]
%USB\VID_0c45&PID_600d.DeviceDesc%=SX.USBDCam,USB\VID_0c45&PID_600d

[SX.USBDCam]
DriverVer = 02/26/2003,2.23.0.0
Include=    ks.inf,kscaptur.inf,ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration,MSPCLOCK.Installation
AddReg=     SX.USBDCam.AddReg,SX.USBCam.default.AddReg,SX.USBCam.Uninstall.AddReg,SX.USBDCam.Intf.AddReg,AddReg.Runonce
CopyFiles=  SX.USBDCam.CopyMsWdmDrivers,SX.USBDCam.CopyDrivers,SN.CopyVfwExt,SX.USBDCam.copytwain,SX.USBDCam.copytwainIni,SX.USBDCam.copyuninstall,SN.CopySTDFiles,SN.CopySnapViewer,SN.CopyUninstall
SubClass=   StillImage
DeviceType= 2
DeviceSubType=0x1
Capabilities=1
;Events=SNUSD.Events
DeviceData=SN.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

[SX.USBDCam.NT]
DriverVer = 02/26/2003,2.23.0.0
Include=    ks.inf,kscaptur.inf,ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg=     SX.USBDCam.AddReg,SX.USBCam.default.AddReg,SX.USBCam.Uninstall.AddReg,SX.USBDCam.Intf.AddReg,AddReg.Runonce
CopyFiles=  SX.USBDCam.CopyDrivers,SN.CopyVfwExt,SX.USBDCam.copytwain,SX.USBDCam.copytwainIni,SX.USBDcam.copyuninstall,SN.CopySTDFiles,SN.CopySnapViewer,SN.CopyUninstall
SubClass=   StillImage
DeviceType= 3 ;Video Capture : 3, Camera : 2, 2003-01-08 Peter Yang
DeviceSubType=0x1
Capabilities=1
;Events=SNUSD.Events
DeviceData=SN.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

[SX.USBDCam.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,cccp106.sys
HKR,,PageOutWhenUnopened,3,00
;HKR,,DontSuspendIfStreamsAreRunning,3,01
HKR,,OkToHibernate,3,01 ;2003-02-21 

HKR,,HardwareConfig,1,1
HKR,,USDClass,,"{E2803332-CA7C-4fa3-B280-C015940A803B}"
HKCR,CLSID\{E2803332-CA7C-4fa3-B280-C015940A803B},,,"STI Camera USD"
HKCR,CLSID\{E2803332-CA7C-4fa3-B280-C015940A803B}\InProcServer32,,,%11%\dcccp106.dll
HKCR,CLSID\{E2803332-CA7C-4fa3-B280-C015940A803B}\InProcServer32,ThreadingModel,,"Apartment"
HKR,,CreateFileName,,"USB"

HKCR,CLSID\{E5CAF5CE-BBED-4943-9FD2-9C9D3AC72833},,,%PlugIn_CustomCameraProp%
HKCR,CLSID\{E5CAF5CE-BBED-4943-9FD2-9C9D3AC72833}\InprocServer32,,,dcccp106.ax
HKCR,CLSID\{E5CAF5CE-BBED-4943-9FD2-9C9D3AC72833}\InprocServer32,ThreadingModel,,Both
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{E5CAF5CE-BBED-4943-9FD2-9C9D3AC72833},,,%PlugIn_CustomCameraProp%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{E5CAF5CE-BBED-4943-9FD2-9C9D3AC72833},IID,1,40,9D,32,3E, 44,04, d6,11, 0xB1, 0xD0, 0x00, 0x10, 0xB5, 0AF, 0x44, 0xD4
HKCR,CLSID\{62641B2B-1E4B-477e-8E82-6DFA33F44290},,,%PropPage_CustomCameraProp%
HKCR,CLSID\{62641B2B-1E4B-477e-8E82-6DFA33F44290}\InprocServer32,,,dcccp106.ax
HKCR,CLSID\{62641B2B-1E4B-477e-8E82-6DFA33F44290}\InprocServer32,ThreadingModel,,Both
HKLM,System\CurrentControlSet\Control\MediaSets\{E5CAF5CE-BBED-4943-9FD2-9C9D3AC72833}\PropertyPages\{62641B2B-1E4B-477e-8E82-6DFA33F44290},,,%PropPage_CustomCameraProp%
;Auto Lanuch function 2003/01/20
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\StillImage\Registered Applications",AMCap,,"%10%\AMCAP.EXE /StiDevice:%1 /StiEvent:%2"

[SX.USBCam.Uninstall.AddReg]
HKLM,"%UninstallRegistryPath%","DisplayName",0x00000000,"%USB\VID_0c45&PID_600d.DeviceDesc%"
HKLM,"%UninstallRegistryPath%","UninstallString",0x00000000,"%10%\CleanDev.exe %10%\DC2110a.ini"

[AddReg.Runonce]
;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce,Flicker,0x00000000,"RunDLL32.exe %10%\select2.exe,SelectFlicker"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce,Flicker,0x00000000,"%10%\select2.exe"

[SX.USBDCam.CopyMsWdmDrivers]
stream.sys

[SN.DeviceData]
TwainDS="%USB\VID_0c45&PID_600d.DeviceDesc%"

;[SNUSD.Events]
;SnapShotChanged="%SnapShotChanged%",{C6DDBB05-B10B-4722-9D6F-BCAC7A3BE57D},AMCap 

[SX.USBDCam.CopyDrivers]
cccp106.sys

[SX.USBDCam.copytwain]
cccp106.ds

[SX.USBDCam.copytwainIni]
cccp106.ini
cccp106.src

[SN.CopySTDFiles]
dcccp106.dll

[SX.USBDCam.copyuninstall]

[SN.CopyVfwExt]
dcccp106.ax
vcccp106.dll,,,4

[SN.CopySnapViewer]
;vcccp106.exe
;amcap.exe;2003/01/20 Peter Yang

[SN.CopyUninstall]
;dcccp106.exe
CleanDev.exe
DC2110a.ini
select2.exe

[SX.USBDCam.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,SX.USBDCam.Interface

[SX.USBDCam.NT.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,SX.USBDCam.Interface

[SX.USBDCam.Interface]
AddReg=SX.USBDCam.Intf.AddReg

[SX.USBCam.default.AddReg]
HKLM,"Software%SettingRegistryPath%\SW"

HKLM,"Software%RegistryPath%",S001,0x00010001,2
HKLM,"Software%RegistryPath%",V001,0x00010001,0
HKLM,"Software%RegistryPath%",A001,0x00010001,2
HKLM,"Software%RegistryPath%",A002,0x00010001,3
HKLM,"Software%RegistryPath%",A003,0x00010001,15
HKLM,"Software%RegistryPath%",A004,0x00010001,12
HKLM,"Software%RegistryPath%",A005,0x00010001,2
HKLM,"Software%RegistryPath%",A006,0x00010001,2
HKLM,"Software%RegistryPath%",A007,0x00010001,9
HKLM,"Software%RegistryPath%",A008,0x00010001,7
HKLM,"Software%RegistryPath%",E001,0x00010001,7271040
HKLM,"Software%RegistryPath%",E002,0x00010001,62
HKLM,"Software%RegistryPath%",E003,0x00010001,97
HKLM,"Software%RegistryPath%",E004,0x00010001,2423680
HKLM,"Software%RegistryPath%",E005,0x00010001,35
HKLM,"Software%RegistryPath%",E006,0x00010001,64
HKLM,"Software%RegistryPath%",E007,0x00010001,250
HKLM,"Software%RegistryPath%",E008,0x00010001,120
HKLM,"Software%RegistryPath%",E009,0x00010001,0
HKLM,"Software%RegistryPath%",E010,0x00010001,12
HKLM,"Software%RegistryPath%",E011,0x00010001,3125
HKLM,"Software%RegistryPath%",E012,0x00010001,1500
HKLM,"Software%RegistryPath%",C001,0x00010001,1000
HKLM,"Software%RegistryPath%",C002,0x00010001,45
HKLM,"Software%RegistryPath%",C003,0x00010001,248
HKLM,"Software%RegistryPath%",C004,0x00010001,78
HKLM,"Software%RegistryPath%",C005,0x00010001,98
HKLM,"Software%RegistryPath%",C006,0x00010001,28
HKLM,"Software%RegistryPath%",C007,0x00010001,80
HKLM,"Software%RegistryPath%",C008,0x00010001,230
HKLM,"Software%RegistryPath%",C009,0x00010001,1800
HKLM,"Software%RegistryPath%",C010,0x00010001,1000
HKLM,"Software%RegistryPath%",C011,0x00010001,3000
HKLM,"Software%RegistryPath%",C012,0x00010001,1500
HKLM,"Software%RegistryPath%",C013,0x00010001,20
HKLM,"Software%RegistryPath%",C014,0x00010001,60
HKLM,"Software%RegistryPath%",C015,0x00010001,1600
HKLM,"Software%RegistryPath%",C016,0x00010001,0
HKLM,"Software%RegistryPath%",C017,0x00010001,240
HKLM,"Software%RegistryPath%",C018,0x00010001,220
HKLM,"Software%RegistryPath%",C019,0x00010001,10
HKLM,"Software%RegistryPath%",C020,0x00010001,200
HKLM,"Software%RegistryPath%",C021,0x00010001,500
HKLM,"Software%RegistryPath%",C022,0x00010001,650
HKLM,"Software%RegistryPath%",C023,0x00010001,0
HKLM,"Software%RegistryPath%",R001,0x00010001,0

[SX.USBDCam.Intf.AddReg]
HKR,,CLSID,,%ProxyVCap.CLSID%
HKR,,FriendlyName,,%USB\VID_0c45&PID_600d.DeviceDesc%
HKR,,ExtensionDLL,,%SN.ExtensionDLL%

[SX.USBDCam.NT.Services]
AddService = CCCP106,0x00000002,SX.USBDCam.ServiceInstall

[SX.USBDCam.ServiceInstall]
DisplayName   = %USB\VID_0c45&PID_600d.DeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\cccp106.sys

[Strings]
ProxyVCap.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
SERVICE_KERNEL_DRIVER=1
; PnP should use demand start
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1

;----------------
; Localizable
;----------------
CameraClassName="Camera device"
SX="D-Link Corporation"
SXTIMfg="D-Link Corporation"
USB\VID_0c45&PID_600d.DeviceDesc ="D-Link CIF Webcam"
RegistryPath="\Chicony\PCCAM\cccp106\COLOR"
RegistryKey="VID_0c45&PID_600d"
SN.ExtensionDLL="vcccp106"
SettingRegistryPath = "\Chicony\PCCAM\cccp106"
UninstallRegistryPath = "Software\Microsoft\Windows\CurrentVersion\Uninstall\DSB-C110"
;SnapShotChanged="SnapShot Changed Event"
PropPage_CustomCameraProp="Custom Camera Property Page"
PlugIn_CustomCameraProp= "WDM Custom ICustomCamera Interface handler"
SrcDiskId = "D-Link CIF Webcam" Installation Disk"
