;==========================================================================
; USB Video Class Device INF (for Windows XP / Vista)
; Copyright(c) 2006 Sonix Technology Co., Ltd.
; File version: 1.8.0.0
; Last modified: 2007-08-02
;==========================================================================

[Version]
LayoutFile = Layout.inf
signature = "$CHICAGO$"
Class = Image
ClassGUID = {6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider = %SX%
CatalogFile.NT = snp2uvc.cat
DriverVer =  11/12/2007,5.8.32.500

[Manufacturer]
%SXTIMfg% = SN, NTx86.5.1, NTx86.6.0, NTamd64, NTamd64.6.0

[SN]

[SN.NTx86.5.1]
%SN.USBVideo.DeviceDesc% = SN.USBVideo.XP,USB\VID_0c45&PID_62c0
%SN.USBVideo.DeviceDesc% = SN.USBVideo.XP,USB\VID_064e&PID_a100
%SN.USBVideo.DeviceDesc% = SN.USBVideo.XP,USB\VID_064e&PID_a101
%SN.USBVideo.DeviceDesc% = SN.USBVideo.XP,USB\VID_064e&PID_a110
%SN.USBVideo.DeviceDesc% = SN.USBVideo.XP,USB\VID_064e&PID_a111
%SN.USBVideo.DeviceDesc% = SN.USBVideo.XP,USB\VID_064e&PID_a112
%SN.USBVideo.DeviceDesc% = SN.USBVideo.XP,USB\VID_064e&PID_a120
%SN.USBVideo.DeviceDesc% = SN.USBVideo.XP,USB\VID_064e&PID_a103
%SN.USBVideo.DeviceDesc% = SN.USBVideo.XP,USB\VID_064e&PID_d100

[SN.NTamd64]
%SN.USBVideo.DeviceDesc% = SN.USBVideo.x64,USB\VID_0c45&PID_62c0
%SN.USBVideo.DeviceDesc% = SN.USBVideo.x64,USB\VID_064e&PID_a100
%SN.USBVideo.DeviceDesc% = SN.USBVideo.x64,USB\VID_064e&PID_a101
%SN.USBVideo.DeviceDesc% = SN.USBVideo.x64,USB\VID_064e&PID_a110
%SN.USBVideo.DeviceDesc% = SN.USBVideo.x64,USB\VID_064e&PID_a111
%SN.USBVideo.DeviceDesc% = SN.USBVideo.x64,USB\VID_064e&PID_a112
%SN.USBVideo.DeviceDesc% = SN.USBVideo.x64,USB\VID_064e&PID_a120
%SN.USBVideo.DeviceDesc% = SN.USBVideo.x64,USB\VID_064e&PID_a103
%SN.USBVideo.DeviceDesc% = SN.USBVideo.x64,USB\VID_064e&PID_d100

[SN.NTx86.6.0]
%SN.USBVideo.DeviceDesc% = SN.USBVideo.v32,USB\VID_0c45&PID_62c0
%SN.USBVideo.DeviceDesc% = SN.USBVideo.v32,USB\VID_064e&PID_a100
%SN.USBVideo.DeviceDesc% = SN.USBVideo.v32,USB\VID_064e&PID_a101
%SN.USBVideo.DeviceDesc% = SN.USBVideo.v32,USB\VID_064e&PID_a110
%SN.USBVideo.DeviceDesc% = SN.USBVideo.v32,USB\VID_064e&PID_a111
%SN.USBVideo.DeviceDesc% = SN.USBVideo.v32,USB\VID_064e&PID_a112
%SN.USBVideo.DeviceDesc% = SN.USBVideo.v32,USB\VID_064e&PID_a120
%SN.USBVideo.DeviceDesc% = SN.USBVideo.v32,USB\VID_064e&PID_a103
%SN.USBVideo.DeviceDesc% = SN.USBVideo.v32,USB\VID_064e&PID_d100

[SN.NTamd64.6.0]
%SN.USBVideo.DeviceDesc% = SN.USBVideo.v64,USB\VID_0c45&PID_62c0
%SN.USBVideo.DeviceDesc% = SN.USBVideo.v64,USB\VID_064e&PID_a100
%SN.USBVideo.DeviceDesc% = SN.USBVideo.v64,USB\VID_064e&PID_a101
%SN.USBVideo.DeviceDesc% = SN.USBVideo.v64,USB\VID_064e&PID_a110
%SN.USBVideo.DeviceDesc% = SN.USBVideo.v64,USB\VID_064e&PID_a111
%SN.USBVideo.DeviceDesc% = SN.USBVideo.v64,USB\VID_064e&PID_a112
%SN.USBVideo.DeviceDesc% = SN.USBVideo.v64,USB\VID_064e&PID_a120
%SN.USBVideo.DeviceDesc% = SN.USBVideo.v64,USB\VID_064e&PID_a103
%SN.USBVideo.DeviceDesc% = SN.USBVideo.v64,USB\VID_064e&PID_d100

[ControlFlags]
ExcludeFromSelect = *

[SourceDisksNames]
1 = %SrcDiskId%,,,

[SourceDisksFiles.x86] ; files for x86
sncduvc.sys = 1
snp2uvc.sys = 1
vsnp2uvc.dll = 1
rsnp2uvc.dll = 1
csnp2uvc.dll = 1
PLFSetL.exe = 1
pidlist.ini =1

[SourceDisksFiles.amd64] ; files for AMD64
sncduvc.sys = 1,.\x64,
snp2uvc.sys = 1,.\x64,
vsnp2uvc.dll = 1
rsnp2uvc.dll = 1
csnp2uvc.dll = 1,.\x64,
vsnpvc64.dll = 1,.\x64,
rsnpvc64.dll = 1,.\x64,
PLFSetL.exe = 1
pidlist.ini =1

[DestinationDirs]
DefaultDestDir = 11
SN.CoInstaller.CopyFiles = 11
SN.Driver.CopyFiles = 10,system32\drivers
SN.CustomProp.CopyFiles = 11
SN.CustomPropx32.CopyFiles = 10,SysWow64
SN.CustomPropx64.CopyFiles = 11
SN.Misc.CopyFiles = 11
SN.PLFSetL.CopyFiles = 10

;==========================================================================
; SN.USBVideo
;==========================================================================
[SN.USBVideo.XP]
Include =    ks.inf,kscaptur.inf
Needs =      KS.Registration,KSCAPTUR.Registration.NT
AddReg =     SN.Driver.NT.AddReg,SN.USDClass.XP.AddReg,SN.DefaultSettings.Addreg,SN.CustomProp.AddReg,SN.Settings.Addreg
CopyFiles =  SN.Driver.CopyFiles,SN.CustomProp.CopyFiles,SN.PLFSetL.CopyFiles

SubClass =      StillImage
DeviceType =    3
DeviceSubType = 1
Capabilities =  0x00000031
DeviceData =    SN.XP.DeviceData
ICMProfiles =   "sRGB Color Space Profile.icm"

[SN.USBVideo.v32]
Include =    ks.inf,kscaptur.inf
Needs =      KS.Registration,KSCAPTUR.Registration.NT
AddReg =     SN.Driver.NT.AddReg,SN.DefaultSettings.Addreg,SN.Settings.Addreg
CopyFiles =  SN.Driver.CopyFiles,SN.PLFSetL.CopyFiles

[SN.USBVideo.x64]
Include =    ks.inf,kscaptur.inf
Needs =      KS.Registration,KSCAPTUR.Registration.NT
AddReg =     SN.Driver.NT.AddReg,SN.USDClass.XP.AddReg,SN.DefaultSettings.Addreg,SN.CustomProp64.AddReg,SN.Settings.Addreg
CopyFiles =  SN.Driver.CopyFiles,SN.CustomPropx32.CopyFiles,SN.CustomPropx64.CopyFiles,SN.PLFSetL.CopyFiles

SubClass =         StillImage
DeviceType =       3
DeviceSubType =    1
Capabilities =     0x00000031
DeviceData =       SN.XP.DeviceData
ICMProfiles =      "sRGB Color Space Profile.icm"

[SN.USBVideo.v64]
Include =    ks.inf,kscaptur.inf
Needs =      KS.Registration,KSCAPTUR.Registration.NT
AddReg =     SN.Driver.NT.AddReg,SN.DefaultSettings.Addreg,SN.Settings.Addreg
CopyFiles =  SN.Driver.CopyFiles,SN.PLFSetL.CopyFiles
[SN.USBVideo.XP.CoInstallers]
AddReg = SN.CoInstaller.AddReg
CopyFiles = SN.CoInstaller.CopyFiles

[SN.USBVideo.x64.CoInstallers]
AddReg = SN.CoInstaller.AddReg
CopyFiles = SN.CoInstaller.CopyFiles


[SN.USBVideo.XP.HW]
AddReg = SN.USBVideo.HW.AddReg

[SN.USBVideo.v32.HW]
AddReg = SN.USBVideo.HW.AddReg

[SN.USBVideo.x64.HW]
AddReg = SN.USBVideo.HW.AddReg

[SN.USBVideo.v64.HW]
AddReg = SN.USBVideo.HW.AddReg

[SN.USBVideo.HW.AddReg]
HKR,,"FriendlyName",,%SN.USBVideo.DeviceDesc%

[SN.USBVideo.XP.Interfaces]
AddInterface = %KSCATEGORY_CAPTURE%,GLOBAL,SN.USBVideo.AddIntf
AddInterface = %KSCATEGORY_VIDEO%,GLOBAL,SN.USBVideo.AddIntf

[SN.USBVideo.v32.Interfaces]
AddInterface = %KSCATEGORY_CAPTURE%,GLOBAL,SN.USBVideo.AddIntf
AddInterface = %KSCATEGORY_VIDEO%,GLOBAL,SN.USBVideo.AddIntf

[SN.USBVideo.x64.Interfaces]
AddInterface = %KSCATEGORY_CAPTURE%,GLOBAL,SN.USBVideo.AddIntf
AddInterface = %KSCATEGORY_VIDEO%,GLOBAL,SN.USBVideo.AddIntf

[SN.USBVideo.v64.Interfaces]
AddInterface = %KSCATEGORY_CAPTURE%,GLOBAL,SN.USBVideo.AddIntf
AddInterface = %KSCATEGORY_VIDEO%,GLOBAL,SN.USBVideo.AddIntf

[SN.USBVideo.XP.Services]
AddService = SNP2UVC,0x00000002,SN.AddService   

[SN.USBVideo.v32.Services]
AddService = SNP2UVC,0x00000002,SN.AddService   

[SN.USBVideo.x64.Services]
AddService = SNP2UVC,0x00000002,SN.AddService   

[SN.USBVideo.v64.Services]
AddService = SNP2UVC,0x00000002,SN.AddService 

[SN.USBVideo.AddIntf]
AddReg=SN.USBVideo.AddIntf.AddReg

[SN.USBVideo.AddIntf.AddReg]
HKR,,CLSID,,%ProxyVCap.CLSID%
HKR,,FriendlyName,,%SN.USBVideo.DeviceDesc%
HKR,,ExtensionDLL,,vsnp2uvc.dll
HKR,PageAliases,"{71F96465-78F3-11d0-A18C-00A0C9118956}",1,64,64,f9,71, f3,78, d0,11, 0xa1, 0x8c, 0x00, 0xa0, 0xc9, 0x11, 0x89, 0x56

;==========================================================================
; Common Section
;==========================================================================
[SN.CoInstaller.AddReg]
HKR,,CoInstallers32,0x00010000,"csnp2uvc.dll,CoInstaller"

[SN.Driver.NT.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,snp2uvc.sys
HKR,,PageOutWhenUnopened,3,00
HKR,,OkToHibernate,3,01 
HKR,,HardwareConfig,1,1
HKR,,CreateFileName,,"USB"

;HKLM,%RunOncePath%,"PLFSet",,"rundll32.exe %10%\PLFSetL.exe,PLFDefSetting"
HKLM,%RunPath%,"PLFSetL",,"%10%\PLFSetL.exe"

[SN.USDClass.XP.AddReg]
HKR,,USDClass,,{0527d1d0-88c2-11d2-82c7-00c04f8ec183}
HKR,,FriendlyName,,%SN.USBVideo.DeviceDesc%

[SN.CustomProp.AddReg]
;0x1cafc1d, 0xd7d6, 0x400f, 0xa7, 0xfd, 0x96, 0x71, 0x5e, 0xb, 0xd9, 0x58 
HKCR,CLSID\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD959},,,%PlugIn_CustomCameraProp%
HKCR,CLSID\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD959}\InprocServer32,,,vsnp2uvc.dll
HKCR,CLSID\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD959}\InprocServer32,ThreadingModel,,Both
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD959},,,%PlugIn_CustomCameraProp%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD959},IID,1,9F,F5,4E,E5, 3E,32, 2e,4a, 0x96, 0xEC, 0x55, 0x99, 0x63, 092, 0x3A, 0x00

HKCR,CLSID\{77E4F2B3-AD09-4682-A4BF-4116388C12A8},,,%PropPage_AdvVideoProcAmpProp%
HKCR,CLSID\{77E4F2B3-AD09-4682-A4BF-4116388C12A8}\InprocServer32,,,vsnp2uvc.dll
HKCR,CLSID\{77E4F2B3-AD09-4682-A4BF-4116388C12A8}\InprocServer32,ThreadingModel,,Both
HKLM,System\CurrentControlSet\Control\MediaSets\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD959}\PropertyPages\{77E4F2B3-AD09-4682-A4BF-4116388C12A8},,,%PropPage_AdvVideoProcAmpProp%

[SN.CustomProp64.AddReg]
;0x1cafc1d, 0xd7d6, 0x400f, 0xa7, 0xfd, 0x96, 0x71, 0x5e, 0xb, 0xd9, 0x58 
HKCR,CLSID\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD959},,,%PlugIn_CustomCameraProp%
HKCR,CLSID\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD959}\InprocServer32,,,vsnp2uvc.dll
HKCR,CLSID\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD959}\InprocServer32,ThreadingModel,,Both
HKCR,Wow6432Node\CLSID\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD959},,,%PlugIn_CustomCameraProp%
HKCR,Wow6432Node\CLSID\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD959}\InprocServer32,,,vsnp2uvc.dll
HKCR,Wow6432Node\CLSID\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD959}\InprocServer32,ThreadingModel,,Both
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD959},,,%PlugIn_CustomCameraProp%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD959},IID,1,9F,F5,4E,E5, 3E,32, 2e,4a, 0x96, 0xEC, 0x55, 0x99, 0x63, 092, 0x3A, 0x00

HKCR,CLSID\{77E4F2B3-AD09-4682-A4BF-4116388C12A8},,,%PropPage_AdvVideoProcAmpProp%
HKCR,CLSID\{77E4F2B3-AD09-4682-A4BF-4116388C12A8}\InprocServer32,,,vsnp2uvc.dll
HKCR,CLSID\{77E4F2B3-AD09-4682-A4BF-4116388C12A8}\InprocServer32,ThreadingModel,,Both
HKCR,Wow6432Node\CLSID\{77E4F2B3-AD09-4682-A4BF-4116388C12A8},,,%PropPage_AdvVideoProcAmpProp%
HKCR,Wow6432Node\CLSID\{77E4F2B3-AD09-4682-A4BF-4116388C12A8}\InprocServer32,,,vsnp2uvc.dll
HKCR,Wow6432Node\CLSID\{77E4F2B3-AD09-4682-A4BF-4116388C12A8}\InprocServer32,ThreadingModel,,Both
HKLM,System\CurrentControlSet\Control\MediaSets\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD959}\PropertyPages\{77E4F2B3-AD09-4682-A4BF-4116388C12A8},,,%PropPage_AdvVideoProcAmpProp%

[SN.DefaultSettings.Addreg]
; all pid/vid
HKLM,SOFTWARE\SONIX\PCCAM\%ProductName%\PIDS,VP00,0x00010001,0x0c4562c0
HKLM,SOFTWARE\SONIX\PCCAM\%ProductName%\PIDS,VP01,0x00010001,0x064ea100
HKLM,SOFTWARE\SONIX\PCCAM\%ProductName%\PIDS,VP02,0x00010001,0x064ea101
HKLM,SOFTWARE\SONIX\PCCAM\%ProductName%\PIDS,VP03,0x00010001,0x064ea110
HKLM,SOFTWARE\SONIX\PCCAM\%ProductName%\PIDS,VP04,0x00010001,0x064ea111
HKLM,SOFTWARE\SONIX\PCCAM\%ProductName%\PIDS,VP05,0x00010001,0x064ea112
HKLM,SOFTWARE\SONIX\PCCAM\%ProductName%\PIDS,VP06,0x00010001,0x064ea120

HKR,DefaultSettings,AutoStartEnable,0x00010001,1
HKR,DefaultSettings,DefectCompensation,0x00010001,0
HKR,DefaultSettings,OSVersion,0x00010001,5
HKR,DefaultSettings,SuspendEnable,0x00010001,1
HKR,DefaultSettings,BWMode,0x00010001,0
HKR,DefaultSettings,Flip,0x00010001,0
HKR,DefaultSettings,Mirror,0x00010001,0
HKR,DefaultSettings,AEPriorityControl,0x00010001,0
HKR,DefaultSettings,EP0Polling,0x00010001,0
HKR,DefaultSettings,DefaultFrameIndex,0x00010001,5
HKR,DefaultSettings,SXGA2StillFormatControl,0x00010001,2
HKR,DefaultSettings,Rotation,0x00010001,0
HKR,DefaultSettings,SnapshotControl,0x00010001,0
HKR,DefaultSettings,PropertyPageControl,0x00010001,8
; Face Tracking
HKR,DefaultSettings,FaceTrack0000,0x00010001,1
HKR,DefaultSettings,FaceTrack0001,0x00010001,6
HKR,DefaultSettings,FaceTrack0002,0x00010001,213
HKR,DefaultSettings,FaceTrack0003,0x00010001,160
HKR,DefaultSettings,FaceTrack0004,0x00010001,20
HKR,DefaultSettings,FaceTrack0005,0x00010001,40
HKR,DefaultSettings,FaceTrack0006,0x00010001,238
HKR,DefaultSettings,FaceTrack0007,0x00010001,8000
HKR,DefaultSettings,FaceTrack0008,0x00010001,5
HKR,DefaultSettings,FaceTrack0009,0x00010001,2
HKR,DefaultSettings,FaceTrack0010,0x00010001,2
HKR,DefaultSettings,FaceTrack0011,0x00010001,1
HKR,DefaultSettings,FaceTrack0012,0x00010001,-4
HKR,DefaultSettings,FaceTrack0013,0x00010001,66
HKR,DefaultSettings,FaceTrack0014,0x00010001,8
HKR,DefaultSettings,FaceTrack0015,0x00010001,20
HKR,DefaultSettings,FaceTrack0016,0x00010001,90
HKR,DefaultSettings,FaceTrack0017,0x00010001,200
HKR,DefaultSettings,FaceTrack0018,0x00010001,770
HKR,DefaultSettings,FaceTrack0019,0x00010001,60
HKR,DefaultSettings,FaceTrack0020,0x00010001,30
HKR,DefaultSettings,FaceTrack0021,0x00010001,20
HKR,DefaultSettings,FaceTrack0022,0x00010001,1000
HKR,DefaultSettings,FaceTrack0023,0x00010001,0
HKR,DefaultSettings,FaceTrack0024,0x00010001,0
HKR,DefaultSettings,FaceTrack0025,0x00010001,0
HKR,DefaultSettings,FaceTrack0026,0x00010001,1
HKR,DefaultSettings,FaceTrack0027,0x00010001,2
HKR,DefaultSettings,FaceTrack0028,0x00010001,3
HKR,DefaultSettings,FaceTrack0029,0x00010001,2710

[SN.DefaultSettings.Addreg.Security]
"D:AR(A;;GA;;;BU)"

[SN.Settings.Addreg]
HKR,Settings,PointX,0x00010001,-1
HKR,Settings,PointY,0x00010001,-1

[SN.Settings.Addreg.Security]
"D:AR(A;;GA;;;BU)"

[SN.CoInstaller.CopyFiles]
csnp2uvc.dll

[SN.Driver.CopyFiles]
snp2uvc.sys
sncduvc.sys

[SN.CustomProp.CopyFiles]
vsnp2uvc.dll
rsnp2uvc.dll

[SN.CustomPropx32.CopyFiles]
vsnp2uvc.dll
rsnp2uvc.dll

[SN.CustomPropx64.CopyFiles]
vsnp2uvc.dll,vsnpvc64.dll
rsnp2uvc.dll,rsnpvc64.dll

[SN.Misc.CopyFiles]
csnp2uvc.dll

[SN.PLFSetL.CopyFiles]
PLFSetL.exe
PidList.ini


[SN.XP.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}

[SN.AddService]
DisplayName   = %SERVICE_DISPLAY_NAME%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\snp2uvc.sys

;==========================================================================
; String Table (English - 1033)
;==========================================================================
[Strings]
KSCATEGORY_CAPTURE = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_VIDEO = "{6994AD05-93EF-11D0-A3CC-00A0C9223196}"

ProxyVCap.CLSID = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
SERVICE_DISPLAY_NAME = "USB2.0 PC Camera (SNP2UVC)"
SERVICE_KERNEL_DRIVER = 1
SERVICE_DEMAND_START = 3
SERVICE_ERROR_NORMAL = 1
ProductName = "SNP2UVC"
RunOncePath = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
RunPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
PropPage_AdvVideoProcAmpProp = "Advanced VideoProcAmp Property Page"
PlugIn_CustomCameraProp = "WDM Custom ICustomCamera Interface handler"

; Localizable =============================================================
SrcDiskId = "USB2.0 PC Camera Installation Disk"
SX = "Sonix"
SXTIMfg = "Suyin Optronics CORP."
SN.USBVideo.DeviceDesc="Acer Crystal Eye webcam"
