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

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

[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_04f2&PID_b026

[SN.NTamd64]
%SN.USBVideo.DeviceDesc% = SN.USBVideo.x64,USB\VID_04f2&PID_b026

[SN.NTx86.6.0]
%SN.USBVideo.DeviceDesc% = SN.USBVideo.v32,USB\VID_04f2&PID_b026

[SN.NTamd64.6.0]
%SN.USBVideo.DeviceDesc% = SN.USBVideo.v64,USB\VID_04f2&PID_b026

[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
PLFSet.dll = 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,
PLFSet.dll = 1

[DestinationDirs]
DefaultDestDir = 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.PLFSet.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.PLFSet.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.PLFSet.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.PLFSet.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.PLFSet.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.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%\PLFSet.dll,PLFDefSetting"
HKLM,%RunPath%,"PLFSet",,"rundll32.exe %10%\PLFSet.dll,PLFDefSetting"

[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-96715E0BD958},,,%PlugIn_CustomCameraProp%
HKCR,CLSID\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD958}\InprocServer32,,,vsnp2uvc.dll
HKCR,CLSID\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD958}\InprocServer32,ThreadingModel,,Both
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD958},,,%PlugIn_CustomCameraProp%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD958},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-96715E0BD958}\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-96715E0BD958},,,%PlugIn_CustomCameraProp%
HKCR,CLSID\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD958}\InprocServer32,,,vsnp2uvc.dll
HKCR,CLSID\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD958}\InprocServer32,ThreadingModel,,Both
HKCR,Wow6432Node\CLSID\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD958},,,%PlugIn_CustomCameraProp%
HKCR,Wow6432Node\CLSID\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD958}\InprocServer32,,,vsnp2uvc.dll
HKCR,Wow6432Node\CLSID\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD958}\InprocServer32,ThreadingModel,,Both
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD958},,,%PlugIn_CustomCameraProp%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{F1CAFC1D-D7D6-400F-A7FD-96715E0BD958},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-96715E0BD958}\PropertyPages\{77E4F2B3-AD09-4682-A4BF-4116388C12A8},,,%PropPage_AdvVideoProcAmpProp%

[SN.DefaultSettings.Addreg]
; all pid/vid
HKLM,SOFTWARE\SONIX\PCCAM\%ProductName%\PIDS,VP00,0x00010001,0x04f2b026

HKR,DefaultSettings,AutoStartEnable,0x00010001,1
HKR,DefaultSettings,OSVersion,0x00010001,5
HKR,DefaultSettings,SuspendEnable,0x00010001,1

[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.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.PLFSet.CopyFiles]
PLFSet.dll

[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 = "Chicony"
SXTIMfg = "Chicony"
SN.USBVideo.DeviceDesc="Acer Crystal Eye webcam"
