
; Copyright (c) Realtek Semiconductor Corp. All rights reserved.

[Version]
signature="$Windows NT$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Realtek%
Catalogfile=rtsuvc32.cat
DriverVer= 06/05/2017,10.0.15063.11275

[SignatureAttributes]
RsDMFT.dll = SignatureAttributes.WindowsHello

[SignatureAttributes.WindowsHello]
WindowsHello = true

[SourceDisksNames]
5800 = %cdname%,,,

[SourceDisksFiles]
rtsuvc.sys = 5800
RsProvider.dll = 5800
msvcp140.dll = 5800
vccorlib140.dll = 5800
vcruntime140.dll = 5800
RtCamO.dll = 5800
RtCamP.dll = 5800
;RtCamU.exe = 5800
RtsCM.exe = 5800
RtsCM.xml = 5800
RtTWN.ds = 5800
RsDMFT.dll   =  5800

[ControlFlags]
ExcludeFromSelect=*

[DestinationDirs]
rtsuvc.CopyFiles=12
RsProvider.CopyFiles = 16422,Realtek\RsProviders
CoInstaller_CopyFiles=11
;RtsUvcUninstall.CopyFiles = 10
RtsUvcApp.CopyFiles = 10
RtsUvcTwain.CopyFiles = 10,twain_32\rtsuvc
DefaultDestDir = 11
Realtek.NTx86.CopyFiles = 11

[rtsuvc.CopyFiles]
rtsuvc.sys

[RsProvider.CopyFiles]
RsProvider.dll
msvcp140.dll
vccorlib140.dll
vcruntime140.dll


;[RtsUvcUninstall.CopyFiles]
;RtCamU.exe

[RtsUvcApp.CopyFiles]
RtsCM.exe
RtsCM.xml

[RtsUvcTwain.CopyFiles]
RtTWN.ds

[Realtek.NTx86.CopyFiles]
RsDMFT.dll,,,2

[Manufacturer]
%ModuleManufacture%= Realtek , NTx86 , NTx86.6 , NTx86.10.0...15000

[Realtek.NTx86]
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL,USB\VID_04F2&PID_B327&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL,USB\VID_0BDA&PID_5719&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL,USB\VID_0BDA&PID_5720&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL,USB\VID_0BDA&PID_58D4&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL,USB\VID_5986&PID_0523&MI_00


[Realtek.NTx86.6]
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL.NTx86.6,USB\VID_04F2&PID_B327&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL.NTx86.6,USB\VID_0BDA&PID_5719&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL.NTx86.6,USB\VID_0BDA&PID_5720&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL.NTx86.6,USB\VID_0BDA&PID_58D4&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL.NTx86.6,USB\VID_5986&PID_0523&MI_00

[Realtek.NTx86.10.0...15000]
;RS_IR_CAMERA.NTx86 ,RS_EX_IR_CAMERA.NTx86,RS_RGB_CAMERA,RS_EX_RGB_CAMERA
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL.NTx86.6,USB\VID_04F2&PID_B327&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL.NTx86.6,USB\VID_0BDA&PID_5719&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL.NTx86.6,USB\VID_0BDA&PID_5720&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL.NTx86.6,USB\VID_0BDA&PID_58D4&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL.NTx86.6,USB\VID_5986&PID_0523&MI_00

;---------------------------------------------------------------
;                x 86  D D I n s t a l l
;---------------------------------------------------------------

[RGB_VENDOR_INTERNAL.NTx86.6]
Include=ks.inf, kscaptur.inf
Needs=KS.Registration, KSCAPTUR.Registration.NT
CopyFiles = rtsuvc.CopyFiles, CoInstaller_CopyFiles,RsProvider.CopyFiles,RtsUvcTwain.CopyFiles, RtsUvcApp.CopyFiles
AddReg = RtsUVCApp.AddReg
DelReg = rtsuvc.DelReg
;RegisterDlls = rtsuvc.RegisterDlls

[RGB_VENDOR_INTERNAL.NTx86]
Include=ks.inf, kscaptur.inf, sti.inf
Needs=KS.Registration, KSCAPTUR.Registration.NT, STI.WIAVideo.Registration
CopyFiles = rtsuvc.CopyFiles, CoInstaller_CopyFiles,RsProvider.CopyFiles,RtsUvcTwain.CopyFiles, RtsUvcApp.CopyFiles
AddReg = RtsUVCApp.AddReg
DelReg = rtsuvc.DelReg
;RegisterDlls = rtsuvc.RegisterDlls

;wia
SubClass=StillImage
DeviceType=3
DeviceSubType=0x1
Capabilities=0x00000031
DeviceData=RGB_VENDOR_INTERNAL.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

[RGB_VENDOR_INTERNAL.DeviceData]
Server=local
UI Class ID={5d8ef5a3-ac13-11d2-a093-00c04f72dc3c}

[RS_IR_CAMERA.NTx86]
Include    =  usbvideo.inf
Needs      =  USBVideo.NT
CopyFiles  =  Realtek.NTx86.CopyFiles
RegisterDlls  =  RsDMFT_RegisterDlls_32
DelReg=RS_Provider.DelReg
PreferDeviceInfo=1

[RS_EX_IR_CAMERA.NTx86]
Include    =  usbvideo.inf
Needs      =  USBVideo.NT
CopyFiles  =  Realtek.NTx86.CopyFiles
RegisterDlls  =  RsDMFT_RegisterDlls_32
DelReg=RS_Provider.DelReg
PreferDeviceInfo=1

[RS_RGB_CAMERA]
Include = usbvideo.inf
Needs = USBVideo.NT
PreferDeviceInfo=1

[RS_EX_RGB_CAMERA]
Include = usbvideo.inf
Needs = USBVideo.NT
PreferDeviceInfo=1

[RtsUvcApp.AddReg]
HKLM,"Software\Realtek\Camera\RotationDisableParameters\6.3",Skype,0x00000000,"Skype.exe"
HKLM,"Software\Realtek\Camera\RotationDisableParameters\10.0",Skype,0x00000000,"Skype.exe"


;---------------------------------------------------------------
;                H W
;---------------------------------------------------------------

[RGB_VENDOR_INTERNAL.NTx86.HW]
Include=machine.inf
Needs=PciD3ColdSupported
AddReg=RGB_VENDOR_INTERNAL.AddReg

[RGB_VENDOR_INTERNAL.NTx86.6.HW]
Include=machine.inf
Needs=PciD3ColdSupported
AddReg=RGB_VENDOR_INTERNAL.AddReg

[RS_IR_CAMERA.NTx86.HW]
AddReg = RS_IR_CAMERA.NT.HW.AddReg
Include = usbvideo.inf
Needs = usbvideo.NT.HW

[RS_EX_IR_CAMERA.NTx86.HW]
AddReg = RS_EX_IR_CAMERA.NT.HW.AddReg
Include = usbvideo.inf
Needs = usbvideo.NT.HW


;---------------------------------------------------------------
;                C o I n s t a l l e r s
;---------------------------------------------------------------

[RGB_VENDOR_INTERNAL.NTx86.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[RGB_VENDOR_INTERNAL.NTx86.6.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
RtCamO.dll
RtCamP.dll

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"RtCamO.dll,RtCamCoInst"

[RTSUVCCoInfo]
; Used by RtsUVC co-installer to figure out where the original media is
; located (so it can launch value-added setup programs).
OriginalInfSourcePath = %1%

;[RtsUvcUninstall.AddReg]
;HKLM,%RTSUVC_UNINSTALL%,DisplayName,,%rtsuvc.UninstallName%
;HKLM,%RTSUVC_UNINSTALL%,UninstallString,,%10%"\RtCamU.exe /u"
;HKLM,%RTSUVC_UNINSTALL%,DisplayIcon,,%10%"\RtCamU.exe"
;HKLM,%RTSUVC_UNINSTALL%,Publisher,,%OrganizationName%
;HKLM,%RTSUVC_UNINSTALL%,DisplayVersion,,%DriverVersion%
;HKLM,%RTSUVC_UNINSTALL%,EstimatedSize,0x00010001,15000


;---------------------------------------------------------------
;                I n t e r f a c e s
;---------------------------------------------------------------

[RGB_VENDOR_INTERNAL.NTx86.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,"GLOBAL",CaptureInterface.NT,
AddInterface=%KSCATEGORY_VIDEO%,"GLOBAL",CaptureInterface.NT,
;AddInterface=%KSCATEGORY_CAPTURE%,%RTSUVCCPAFILTER%,CaptureInterface.NT,
;AddInterface=%KSCATEGORY_VIDEO%,%RTSUVCCPAFILTER%,CaptureInterface.NT,

[RGB_VENDOR_INTERNAL.NTx86.6.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,"GLOBAL",CaptureInterface.NT,
AddInterface=%KSCATEGORY_VIDEO%,"GLOBAL",CaptureInterface.NT,
;AddInterface=%KSCATEGORY_CAPTURE%,%RTSUVCCPAFILTER%,CaptureInterface.NT,
;AddInterface=%KSCATEGORY_VIDEO%,%RTSUVCCPAFILTER%,CaptureInterface.NT,
AddInterface = %KSCATEGORY_VIDEO_CAMERA%,GLOBAL,RS_RGB_CAMERA_AddInterface

[RS_IR_CAMERA.NTx86.Interfaces]
Include = usbvideo.inf
Needs = usbvideo.NT.Interfaces
AddInterface = %KSCATEGORY_SENSOR_CAMERA%,GLOBAL,RS_IR_CAMERA_AddInterface

[RS_EX_IR_CAMERA.NTx86.Interfaces]
Include = usbvideo.inf
Needs = usbvideo.NT.Interfaces
AddInterface = %KSCATEGORY_SENSOR_CAMERA%,GLOBAL,RS_EX_IR_CAMERA_AddInterface

[RS_RGB_CAMERA.Interfaces]
Include = usbvideo.inf
Needs = usbvideo.NT.Interfaces
AddInterface = %KSCATEGORY_VIDEO_CAMERA%,GLOBAL,RS_RGB_CAMERA_AddInterface

[RS_EX_RGB_CAMERA.Interfaces]
Include = usbvideo.inf
Needs = usbvideo.NT.Interfaces
AddInterface = %KSCATEGORY_VIDEO_CAMERA%,GLOBAL,RS_EX_RGB_CAMERA_AddInterface


;---------------------------------------------------------------
;                S e r v i c e s
;---------------------------------------------------------------

[RGB_VENDOR_INTERNAL.NTx86.Services]
AddService=rtsuvc, 0x00000002, RGB_VENDOR_INTERNAL.ServiceInstall

[RGB_VENDOR_INTERNAL.NTx86.6.Services]
AddService=rtsuvc, 0x00000002, RGB_VENDOR_INTERNAL.ServiceInstall

[RS_IR_CAMERA.NTx86.Services]
Include = usbvideo.inf
Needs = USBVideo.NT.Services

[RS_EX_IR_CAMERA.NTx86.Services]
Include = usbvideo.inf
Needs = USBVideo.NT.Services

[RS_RGB_CAMERA.Services]
Include = usbvideo.inf
Needs = USBVideo.NT.Services

[RS_EX_RGB_CAMERA.Services]
Include = usbvideo.inf
Needs = USBVideo.NT.Services

[RGB_VENDOR_INTERNAL.ServiceInstall]
DisplayName=%rtsuvc.DeviceDesc%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%12%\rtsuvc.sys
AddReg=rtsuvcParameters.AddReg

[rtsuvcParameters.AddReg]
;HKR,Parameters,CRCL,0x00010001,0
;HKR,Parameters,FollowINFDeviceName,0x00010001,0
;HKR,Parameters,BisonECSSetting,0x00010001,0


;---------------------------------------------------------------
;                A d d R e g
;---------------------------------------------------------------

[CaptureInterface.NT]
AddReg=RGB_VENDOR_INTERNAL.AddReg

[RGB_VENDOR_INTERNAL.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%rtsuvc.FriendlyName%

[RS_IR_CAMERA.NT.HW.AddReg]
HKR,,SensorCameraMode,0x00010001,0x00000001
HKR,,SkipCameraEnumeration,0x00010001,0x00000001
HKLM,%MSProvider%,FaceAuthenticationSourcesHint,0x00010001,0

[RS_EX_IR_CAMERA.NT.HW.AddReg]
HKR,,SensorCameraMode,0x00010001,0x00000001
HKR,,SkipCameraEnumeration,0x00010001,0x00000001
HKLM,%MSProvider%,FaceAuthenticationSourcesHint,0x00010001,0

[RS_SensorGroup.AddReg]
HKR,,FSSensorGroupID,0x00000000,%FSSensorGroupID%
HKR,,FSSensorGroupName,0x00000000,%FSSensorGroupName%

[RS_EX_SensorGroup.AddReg]
HKR,,FSSensorGroupID,0x00000000,%EXFSSensorGroupID%
HKR,,FSSensorGroupName,0x00000000,%EXFSSensorGroupName%

[RS_IR_CAMERA_AddInterface]
AddReg = RS_IR_CAMERA.Interface.AddReg, RS_SensorGroup.AddReg

[RS_EX_IR_CAMERA_AddInterface]
AddReg = RS_EX_IR_CAMERA.Interface.AddReg, RS_EX_SensorGroup.AddReg

[RS_RGB_CAMERA_AddInterface]
AddReg = RS_SensorGroup.AddReg

[RS_EX_RGB_CAMERA_AddInterface]
AddReg = RS_EX_SensorGroup.AddReg

[RS_IR_CAMERA.Interface.AddReg]
HKR,,CLSID,,%ProxyVCap.CLSID%
;HKR,,FriendlyName,,%Realtek.DeviceDesc%
HKR,,RTCFlags,0x00010001,0x00000010
HKR,,CameraDeviceMFTCLSID,0x00000000,"{09824200-9A44-4B06-8C74-92D99E09B435}"

[RS_EX_IR_CAMERA.Interface.AddReg]
HKR,,CLSID,,%ProxyVCap.CLSID%
;HKR,,FriendlyName,,%Realtek.DeviceDesc%
HKR,,RTCFlags,0x00010001,0x00000010
HKR,,CameraDeviceMFTCLSID,0x00000000,"{09824200-9A44-4B06-8C74-92D99E09B435}"


;---------------------------------------------------------------
;                R e g i s t e r D l l s
;---------------------------------------------------------------

[rtsuvc.RegisterDlls]
11, , RtCamO.dll, 1

[RsDMFT_RegisterDlls_32]
11,,RsDMFT.dll, 1


;---------------------------------------------------------------
;                Delete reg
;---------------------------------------------------------------

[rtsuvc.DelReg]
HKLM,%AUTORUN%,RtsCM,,

[RS_Provider.DelReg]
HKLM,%RSProvider%

[PropertyUI]
PageOEM = Lenovo_Edge


;---------------------------------------------------------------
;                S t r i n g s
;---------------------------------------------------------------

[Strings]
; Localizable
Realtek = "Realtek"
Package = "Installation Package"
Realtek.DeviceDesc = "Realtek DMFT Device"
Realtek.RGB_DeviceDesc = "Realtek DMFT - RGB"
Realtek.IR_DeviceDesc = "Realtek DMFT - IR"
KSCATEGORY_SENSOR_CAMERA = "{24E552D7-6523-47F7-A647-D3465BF1F5CA}"
KSCATEGORY_VIDEO_CAMERA = "{E5323777-F976-4f5b-9B55-B94699C46E44}"
ProxyVCap.CLSID = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
FSSensorGroupID = "{78DCB7D0-33EA-458B-B98A-56E9A3A40B50}"
FSSensorGroupName = "Rts-DMFT-Group"
EXFSSensorGroupID = "{676AEB6E-F5B9-446F-8969-B1B73DF0FA27}"
EXFSSensorGroupName = "Rts-External-DMFT-Group"
RSProvider="Software\Microsoft\Analog\Providers\RsProvider"
MsProvider="Software\Microsoft\Analog\Providers"

; non-localizeable
Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_VIDEO="{6994AD05-93EF-11D0-A3CC-00A0C9223196}"

;RTSUVCCPAFILTER="{B7A8FBA3-1AE2-4617-B9BD-A7AB63F5FDDA}"

AUTORUN="Software\Microsoft\Windows\CurrentVersion\Run"

SERVICE_KERNEL_DRIVER=1
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1
REG_DWORD=0x00010001


ModuleManufacture="Realtek"
OrganizationName="Realtek Semiconductor Corp."
rtsuvc.DeviceDesc="Integrated Camera"
rtsuvc.FriendlyName="Integrated Camera"
rtsuvc.UninstallName="Integrated Camera"
RTSUVC_UNINSTALL="Software\Microsoft\Windows\CurrentVersion\Uninstall\{E399A5B3-ED53-4DEA-AF04-8011E1EB1EAC}"
cdname="Integrated Camera"
Lite-On.mfgname="Lite-On"
DMAX-AVC.mfgname="DMAX-AVC"
Bison.mfgname="Bison"
Azurewave.mfgname="Azurewave"
Realtek.mfgname="Realtek"
Intel.mfgname="Intel"
DriverVersion = "10.0.15063.11275"
