;==========================================================================
; PC Camera with Audio (SN9C103) INF (for Windows 98/ME/2000/XP)
; Copyright(c) 2003
; File version: 1.1.3.9
; Last modified: 2005-04-22
;==========================================================================

[Version]
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%SX%
CatalogFile.NT=snpstd2.cat
DriverVer = 04/22/2005,4.13.2.0

[SourceDisksNames]
1 = %SrcDiskId%,,,

[SourceDisksFiles]
snpstd2.sys = 1,,
snpstd2.ds = 1,,
snpstd2.ini = 1,,
snpstd2.src = 1,,
dsnpstd2.ax = 1,,
vsnpstd2.dll = 1,,
dsnpstd2.dll = 1,,
vsnpstd2.exe = 1,,
dsnpstd2.exe = 1,,
usnpstd2.exe = 1,,
csnpstd2.dll = 1,,
SnxDSC.ini = 1,,
TwainUI.dll = 1,,

; parameter files
p106std2.reg = 1,,
p202std2.reg = 1,,
t511std2.reg = 1,,
t513std2.reg = 1,,
h713std2.reg = 1,,
h71rstd2.reg = 1,,
m034std2.reg = 1,,
m036std2.reg = 1,,
cvf1std2.reg = 1,,
o763std2.reg = 1,,

[DestinationDirs]
DefaultDestDir=11,               ; LDID_SYS
SX.USBDCam.CopyMsWdmDrivers=10,system32\drivers
SX.USBDCam.CopyDrivers=10,system32\drivers
SX.USBDCam.copytwain=10,twain_32\snpstd2
SX.USBDCam.copytwainIni=10
SN.CopySTDFiles=11
SN.CopyVfwExt=11
SN.CopySnapViewer = 10
SN.CopyUninstall = 10
SN.CopyParam = 17
CoInstaller_CopyFiles = 11

[Manufacturer]
%SXTIMfg%=SN

[SN]
%UsbDeviceDesc%=SX.USBDCam,USB\VID_0c45&PID_608e&Mi_00;CISVF10
%UsbDeviceDesc%=SX.USBDCam,USB\VID_0c45&PID_6083&Mi_00;HY7131D/E
%UsbDeviceDesc%=SX.USBDCam,USB\VID_0c45&PID_608c&Mi_00;HY7131/R
%UsbDeviceDesc%=SX.USBDCam,USB\VID_0c45&PID_608f&Mi_00;OV7630
%UsbDeviceDesc%=SX.USBDCam,USB\VID_0c45&PID_60af&Mi_00;PAS202
%UsbDeviceDesc%=SX.USBDCam,USB\VID_0c45&PID_60a8&Mi_00;PAS106
%UsbDeviceDesc%=SX.USBDCam,USB\VID_0c45&PID_6082&Mi_00;MI0343,MI0360
%UsbDeviceDesc%=SX.USBDCam,USB\VID_0c45&PID_60aa&Mi_00;TAS5130
%UsbDeviceDesc%=SX.USBDCam,USB\VID_0c45&PID_6025&Mi_00;TAS5130
;%UsbDeviceDesc%=SX.USBDCam,USB\VID_0c45&PID_60ab&Mi_00;TAS5110

[SX.USBDCam]
DriverVer = 04/22/2005,4.13.2.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,SX.USBDCam.RegisterParam
CopyFiles=  SX.USBDCam.CopyMsWdmDrivers,SX.USBDCam.CopyDrivers,SN.CopyVfwExt,SX.USBDCam.copytwain,SX.USBDCam.copytwainIni,SN.CopySTDFiles,SN.CopySnapViewer,SN.CopyUninstall,SN.CopyParam
SubClass=   StillImage
DeviceType= 2
DeviceSubType=0x1
Capabilities=1
Events=SNUSD.Events
DeviceData=SN.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

[SX.USBDCam.NT]
DriverVer = 04/22/2005,4.13.2.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
CopyFiles=  SX.USBDCam.CopyDrivers,SN.CopyVfwExt,SX.USBDCam.copytwain,SX.USBDCam.copytwainIni,SN.CopySTDFiles,SN.CopySnapViewer,SN.CopyUninstall,SN.CopyParam
SubClass=   StillImage
DeviceType= 3 ; 2003-01-17
DeviceSubType=0x1
Capabilities=1
Events=SNUSD.Events
DeviceData=SN.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

[SX.USBDCam.NT.CoInstallers]
CopyFiles = CoInstaller_CopyFiles
AddReg = CoInstaller_AddReg

[CoInstaller_CopyFiles]
csnpstd2.dll

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"csnpstd2.dll, CoInstaller"

[RegisterParam]
ParamFile=p106std2.reg,p202std2.reg,t511std2.reg,t513std2.reg,h713std2.reg,h71rstd2.reg,m034std2.reg,m036std2.reg,cvf1std2.reg,o763std2.reg

[SX.USBDCam.RegisterParam]
HKLM,%RunOncePath%,"snpstd2-2",,"rundll32.exe %11%\csnpstd2.dll,LoadRegAndReboot p106std2.reg,p202std2.reg,t511std2.reg,t513std2.reg,h713std2.reg,h71rstd2.reg,m034std2.reg,m036std2.reg,cvf1std2.reg,o763std2.reg"

[SX.USBDCam.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,snpstd2.sys
HKR,,PageOutWhenUnopened,3,00
HKR,,OkToHibernate,3,01 

HKR,,HardwareConfig,1,1
HKR,,USDClass,,{B4606B89-14A0-4c05-ACED-2980C8BF2ADA}
HKCR,CLSID\{B4606B89-14A0-4c05-ACED-2980C8BF2ADA},,,"STI Camera USD"
HKCR,CLSID\{B4606B89-14A0-4c05-ACED-2980C8BF2ADA}\InProcServer32,,,%11%\dsnpstd2.dll
HKCR,CLSID\{B4606B89-14A0-4c05-ACED-2980C8BF2ADA}\InProcServer32,ThreadingModel,,"Apartment"
HKR,,CreateFileName,,"USB"

;Auto start and Snapshot control
;HKR,Settings,STICapability,0x00010001,1 ; bit0: auto-start enable/disable
;HKR,Settings,SnapshotCapability,0x00010001,3 ; bit0: snapshot enable/disable; bit1: snapshot notification enable/disable

HKCR,CLSID\{E54EF59F-323E-4a2e-96EC-559963923A00},,,%PlugIn_CustomCameraProp%
HKCR,CLSID\{E54EF59F-323E-4a2e-96EC-559963923A00}\InprocServer32,,,dsnpstd2.ax
HKCR,CLSID\{E54EF59F-323E-4a2e-96EC-559963923A00}\InprocServer32,ThreadingModel,,Both
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{E54EF59F-323E-4a2e-96EC-559963923A00},,,%PlugIn_CustomCameraProp%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{E54EF59F-323E-4a2e-96EC-559963923A00},IID,1,9F,F5,4E,E5, 3E,32, 2e,4a, 0x96, 0xEC, 0x55, 0x99, 0x63, 092, 0x3A, 0x00
HKCR,CLSID\{A9512ECA-E113-4969-85D6-FB5DD2FDFD1F},,,%PropPage_CustomCameraProp%
HKCR,CLSID\{A9512ECA-E113-4969-85D6-FB5DD2FDFD1F}\InprocServer32,,,dsnpstd2.ax
HKCR,CLSID\{A9512ECA-E113-4969-85D6-FB5DD2FDFD1F}\InprocServer32,ThreadingModel,,Both
HKLM,System\CurrentControlSet\Control\MediaSets\{E54EF59F-323E-4a2e-96EC-559963923A00}\PropertyPages\{A9512ECA-E113-4969-85D6-FB5DD2FDFD1F},,,%PropPage_CustomCameraProp%

HKLM,%RunOncePath%,"SNPSTD2",,"rundll32.exe %11%\csnpstd2.dll,DoShellExecute %10%\vsnpstd2.exe"
HKLM,%RunPath%,"SNPSTD2",,"%10%\vsnpstd2.exe"

[SX.USBCam.Uninstall.AddReg]
;HKLM,"%UninstallRegistryPath%","DisplayName",0x00000000,"%UsbDeviceDesc%"
;HKLM,"%UninstallRegistryPath%","UninstallString",0x00000000,"%10%\usnpstd2.exe"

[SN.DeviceData]
TwainDS="%UsbDeviceDesc%"

[SNUSD.Events]
SnapShotChanged="%SnapShotChanged%",{C32F5C60-946E-4c3e-90F7-4FB74D1C17DA},*

[SX.USBDCam.CopyMsWdmDrivers]
stream.sys

[SX.USBDCam.CopyDrivers]
snpstd2.sys

[SX.USBDCam.copytwain]
snpstd2.ds
SnxDSC.ini
TwainUI.dll

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

[SN.CopySTDFiles]
dsnpstd2.dll
csnpstd2.dll

[SN.CopyVfwExt]
dsnpstd2.ax
vsnpstd2.dll,,,4

[SN.CopySnapViewer]
vsnpstd2.exe

[SN.CopyUninstall]
usnpstd2.exe

[SN.CopyParam]
p106std2.reg
p202std2.reg
t511std2.reg
t513std2.reg
h713std2.reg
h71rstd2.reg
m034std2.reg
m036std2.reg
cvf1std2.reg
o763std2.reg

[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]
; VID&PID

; SUI102 device name
HKLM,"%SUI102DefaultPath%","DeviceName",0x00000000,"%UsbDeviceDesc%"

;
; PAS106 default settings
;
; Default Color parameters
;Default AE parameters
;Default driver parameters

;
; PAS202 default settings
;
; Default Color parameters
;Default AE parameters
;Default driver parameters

;
; HYNIX7131 D/E default settings
;
; Default Color parameters
;Default AE parameters
;Default driver parameters

;
; HYNIX7131 /R default settings
;
; Default Color parameters
;Default AE parameters
;Default driver parameters

;
; TAS5110 default settings
;
; Default Color parameters
;Default AE parameters
;Default driver parameters

;
; TAS5130 default settings
;
; Default Color parameters
;Default AE parameters
;Default driver parameters

;
; Micron 0343 default settings
;
; Default Color parameters
;Default AE parameters
;Default driver parameters

;
; Micron 0360 default settings
;
; Default Color parameters
;Default AE parameters
;Default driver parameters

;
; CI SVF10 default settings
;
; Default Color parameters
;Default AE parameters
;Default driver parameters

[SX.USBDCam.Intf.AddReg]
HKR,,CLSID,,%ProxyVCap.CLSID%
HKR,,FriendlyName,,%UsbDeviceDesc%
HKR,,ExtensionDLL,,%SN.ExtensionDLL%
HKR,PageAliases,"{71F96464-78F3-11d0-A18C-00A0C9118956}",1,CA,2E,51,A9, 13,E1, D0,11, 0xA1, 0x8C, 0x00, 0xA0, 0xC9, 0x11, 0x89, 0x56
HKR,PageAliases,"{71F96465-78F3-11d0-A18C-00A0C9118956}",1,CA,2E,51,A9, 13,E1, D0,11, 0xA1, 0x8C, 0x00, 0xA0, 0xC9, 0x11, 0x89, 0x56

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

[SX.USBDCam.ServiceInstall]
DisplayName   = %UsbDeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\snpstd2.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="Sonix"
SXTIMfg=""
UsbDeviceDesc ="USB PC Camera (SN9C103)"
SN.ExtensionDLL="vsnpstd2"
SUI102DefaultPath = "System\Sonix\PCCAM\snpstd2"
DefaultSettingPath = "System\Sonix\PCCAM\snpstd2\DefaultSettings"
RunOncePath = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
RunPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
UninstallRegistryPath = "Software\Microsoft\Windows\CurrentVersion\Uninstall\snpstd2"
SnapShotChanged="SnapShot Changed Event"
PropPage_CustomCameraProp="Custom Camera Property Page"
PlugIn_CustomCameraProp= "WDM Custom ICustomCamera Interface handler"
SrcDiskId = "PCCam Installation Disk"
