; Localized     10/16/2017 09:30 (GMT+08:00) 3.5.18.24 SPUVCbv3.inf 
; Video Capture Driver installation information 
; Copyright (c) 2012-2017 Sunplus Innovation Tech 
; Manufacturer: Sunplus Innovation Tech

[OEMInf]
VerifyMark="SunplusIT Integrated Camera"

[Version]
signature="$CHICAGO$"
Class=Camera
ClassGuid={ca3e7ab9-b4c3-4ae6-8251-579ef933890f}
Provider=%ProviderName%
DriverVer=10/16/2017,3.5.18.24
CatalogFile=SPUVCB.cat

[DestinationDirs]
DefaultDestDir=11
SPIT.CopyDmft32 = 11
SPIT.CopyDmft64 = 11

[SourceDisksNames]
1=%DiskName%,,,,

[SourceDisksFiles]
SPITDevMft.dll=1
SPITDevMft64.dll=1

[SPIT.CopyDmft32]
SPITDevMft.dll

[SPIT.CopyDmft64]
SPITDevMft64.dll

[ControlFlags]
ExcludeFromSelect=*

; =================== Table of content =========================

[Manufacturer]
%SunplusIT.MfgName%=SunplusIT.Section,NTx86,NTamd64

; =================== Sunplus ==================================

[SunplusIT.Section.NTx86]
%CAMERA.DeviceDesc%=SPUVCb.Device_RS3,USB\VID_04F2&PID_B613&MI_00
%CAMERA.DeviceDesc%=SPUVCb.Device_RS3,USB\VID_04F2&PID_B615&MI_00
%CAMERA.DeviceDesc%=SPUVCb.Device_RS3,USB\VID_5986&PID_2117&MI_00
%CAMERA.DeviceDesc%=SPUVCb.Device_RS3,USB\VID_5986&PID_211A&MI_00
%CAMERA.DeviceDesc%=SPUVCb.Device_RS3,USB\VID_5986&PID_211D&MI_00

[SunplusIT.Section.NTamd64]
%CAMERA.DeviceDesc%=SPUVCb.Device_RS3_x64,USB\VID_04F2&PID_B613&MI_00
%CAMERA.DeviceDesc%=SPUVCb.Device_RS3_x64,USB\VID_04F2&PID_B615&MI_00
%CAMERA.DeviceDesc%=SPUVCb.Device_RS3_x64,USB\VID_5986&PID_2117&MI_00
%CAMERA.DeviceDesc%=SPUVCb.Device_RS3_x64,USB\VID_5986&PID_211A&MI_00
%CAMERA.DeviceDesc%=SPUVCb.Device_RS3_x64,USB\VID_5986&PID_211D&MI_00

;==========================================================================
; USB 2.0 Camera
;==========================================================================
[SPUVCB.Device_RS3.NT]
Include   = usbvideo.inf
Needs     = usbvideo.NT
RegisterDlls  =  SPITDMFT_RegisterDlls_32
CopyFiles = SPIT.CopyDmft32
DelReg=SPITProvider.DelReg,SPUVCB.DelReg

[SPUVCB.Device_RS3_x64.ntamd64]
Include   = usbvideo.inf
Needs     = usbvideo.NT
RegisterDlls  =  SPITDMFT_RegisterDlls_64
CopyFiles = SPIT.CopyDmft64
DelReg=SPITProvider.DelReg,SPUVCB.DelReg

[SPUVCB.DelReg]
;HKLM,SOFTWARE\%SPUVCB.ProductName%
HKLM,Software\Microsoft\Windows\CurrentVersion\Run,%CAMERA.DeviceDesc%_Monitor
HKLM,%UIF%
HKLM,%UIF_X64%
HKLM,SYSTEM\CurrentControlSet\Control\MediaSets\{755742BA-C3AD-450a-BF7B-8E4F9D20A830}\PropertyPages\{BF9783AD-5FE4-4e1f-A31E-34F71B8FB2A2}

[SPITDMFT_RegisterDlls_32]
11,,SPITDevMft.dll, 1

[SPITDMFT_RegisterDlls_64]
11,,SPITDevMft64.dll, 1

[SPITProvider.DelReg]
HKLM,"Software\Microsoft\Analog\Providers\SPITProvider"

;----------------------------------------------------------------------------------

[SPUVCB.Device_RS3.NT.Services]
include     = usbvideo.inf
needs       = USBVideo.NT.Services

[SPUVCB.Device_RS3_x64.ntamd64.Services]
include     = usbvideo.inf
needs       = USBVideo.NT.Services

;----------------------------------------------------------------------------------

[SPUVCB.Device_RS3.NT.HW]
Include = usbvideo.inf
Needs = usbvideo.NT.HW
AddReg = SPUVCB_RS3.HW.AddReg

[SPUVCB.Device_RS3_x64.ntamd64.HW]
Include = usbvideo.inf
Needs = usbvideo.NT.HW
AddReg = SPUVCB_RS3.HW.AddReg

[SPUVCB_RS3.HW.AddReg]
HKR,,SensorCameraMode,0x00010001,00000001
HKR,,SkipCameraEnumeration,0x00010001,00000001
HKLM,%MSProvider%,FaceAuthenticationSourcesHint,0x00010001,0

;----------------------------------------------------------------------------------

[SPUVCB.Device_RS3.NT.Interfaces]
include     = usbvideo.inf
needs       = USBVideo.Interfaces
AddInterface=%KSCATEGORY_SENSOR_CAMERA%,GLOBAL,SPUVCB_RS3.VideoCapture

[SPUVCB.Device_RS3_x64.ntamd64.Interfaces]
include     = usbvideo.inf
needs       = USBVideo.Interfaces
AddInterface=%KSCATEGORY_SENSOR_CAMERA%,GLOBAL,SPUVCB_RS3.VideoCapture

[SPUVCB_RS3.VideoCapture]
AddReg=SPUVCB_RS3.VideoCapture.AddReg

[SPUVCB_RS3.VideoCapture.AddReg]
HKR,,CLSID,,%ProxyVCap.CLSID%
HKR,,FriendlyName,,%CAMERA.DeviceDesc%
HKR,,RTCFlags,0x00010001,0x00000010
HKR,,FSSensorGroupID,,"{f66fa674-f2be-4d19-98c5-d132329c642f}"
HKR,,FSSensorGroupName,,"Lenovo Camera Group"
HKR,,CameraDeviceMftClsid,,"{81510F34-8A08-4FEB-85CB-1F2E82062ED4}"

; =================== Global ==================================

[Strings]
ProviderName=  "SunplusIT"
SunplusIT.MfgName= "SunplusIT"
DriverName=	 "SPUVCbv"
DriverFullName=  "SPUVCbv.sys"
DriverFullName64=  "SPUVCbv64.sys"
DiskName=        "USB WebCam Driver Install Disk"

CAMERA.DeviceDesc=  "Integrated IR Camera"
SPUVCb.ProductName= "Sunplus SPUVCb"

;Uninstall
UIF=          "Software\Microsoft\Windows\CurrentVersion\Uninstall\Sunplus SPUVCb"
UIF_X64=      "Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Sunplus SPUVCb"
MsProvider=   "Software\Microsoft\Analog\Providers"

;Non-Localizable
SERVICE_KERNEL_DRIVER=1
SERVICE_AUTO_START=2
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1

ProxyVCap.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_VIDEO="{6994AD05-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_RENDER="{65E8773E-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_RENDER_EXT="{CC7BFB41-F175-11D1-A392-00E0291F3959}"
KSCATEGORY_SENSOR_CAMERA="{24E552D7-6523-47F7-A647-D3465BF1F5CA}"
