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

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

[SignatureAttributes]
RsDMFT64.dll = SignatureAttributes.WindowsHello

[SignatureAttributes.WindowsHello]
WindowsHello = true

[SourceDisksNames]
5800 = %cdname%,,,

[SourceDisksFiles]
rtsuvc.sys = 5800
RtCamO64.dll = 5800
RtCamP.dll = 5800
RtCamP64.dll = 5800
;RtCamU64.exe = 5800
RtTWN.ds = 5800
RsDecode.dll = 5800
RTFTrack.exe = 5800
FTData.xml = 5800
FTDataP.xml = 5800
FTDataR0.xml = 5800
FTDataR1.xml = 5800
RsDMFT64.dll =  5800

[ControlFlags]
ExcludeFromSelect=*

[DestinationDirs]
rtsuvc.CopyFiles=12
CoInstaller_CopyFiles=11
CopyExtDLL = 10, SysWow64
CopyExtDLL64 = 11
;RtsUvcUninstall.CopyFiles = 10
RtsUvcApp.CopyFiles = 10
RtsUvcTwain.CopyFiles = 10,twain_32\rtsuvc
DefaultDestDir  =  11
Realtek.NTamd64.CopyFiles  =  11

[rtsuvc.CopyFiles]
rtsuvc.sys

[RtsUvcApp.CopyFiles]
RTFTrack.exe
FTData.xml
FTDataP.xml
FTDataR0.xml
FTDataR1.xml

[CopyExtDLL]
RtCamP.dll
RsDecode.dll

[CopyExtDLL64]
RtCamP64.dll

;[RtsUvcUninstall.CopyFiles]
;RtCamU64.exe

[RtsUvcTwain.CopyFiles]
RtTWN.ds

[Realtek.NTamd64.CopyFiles]
RsDMFT64.dll,,,2

[Manufacturer]
%ModuleManufacture%= Realtek , NTamd64 , NTamd64.6

[Realtek.NTamd64]
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL,USB\VID_0BDA&PID_5728
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL,USB\VID_0BDA&PID_572A
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL,USB\VID_0BDA&PID_5731
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL,USB\VID_0BDA&PID_5733
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL,USB\VID_0BDA&PID_5734
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL,USB\VID_0BDA&PID_5737
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL,USB\VID_0BDA&PID_5744
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL,USB\VID_0BDA&PID_574F
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL,USB\VID_0BDA&PID_579A
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL,USB\VID_0BDA&PID_579C
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL,USB\VID_0BDA&PID_57AA
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL,USB\VID_0BDA&PID_5836
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL,USB\VID_0BDA&PID_58B9
%rtsuvc.DeviceDesc%=RGB_VENDOR_INTERNAL,USB\VID_0BDA&PID_58DD

[Realtek.NTamd64.6]
%rtsuvc.DeviceDesc%=RGB_VENDOR_NO_PROVIDER.NTamd64,USB\VID_0BDA&PID_5728&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_NO_PROVIDER.NTamd64,USB\VID_0BDA&PID_572A&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_NO_PROVIDER.NTamd64,USB\VID_0BDA&PID_5731&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_NO_PROVIDER.NTamd64,USB\VID_0BDA&PID_5733&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_NO_PROVIDER.NTamd64,USB\VID_0BDA&PID_5734&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_NO_PROVIDER.NTamd64,USB\VID_0BDA&PID_5737&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_NO_PROVIDER.NTamd64,USB\VID_0BDA&PID_5744&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_NO_PROVIDER.NTamd64,USB\VID_0BDA&PID_574F&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_NO_PROVIDER.NTamd64,USB\VID_0BDA&PID_579A&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_NO_PROVIDER.NTamd64,USB\VID_0BDA&PID_579C&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_NO_PROVIDER.NTamd64,USB\VID_0BDA&PID_57AA&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_NO_PROVIDER.NTamd64,USB\VID_0BDA&PID_5836&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_NO_PROVIDER.NTamd64,USB\VID_0BDA&PID_58B9&MI_00
%rtsuvc.DeviceDesc%=RGB_VENDOR_NO_PROVIDER.NTamd64,USB\VID_0BDA&PID_58DD&MI_00


;RS_IR_CAMERA.NTamd64 ,RS_EX_IR_CAMERA.NTamd64,RS_RGB_CAMERA,RS_EX_RGB_CAMERA



;---------------------------------------------------------------
;                A M D 64  D D I n s t a l l
;---------------------------------------------------------------

[RGB_VENDOR_INTERNAL.NTamd64.6]
Include=ks.inf, kscaptur.inf
Needs=KS.Registration, KSCAPTUR.Registration.NT
;, KSOLAY.Installation, MSPCLOCK, MSPCLOCK.NT.Services, MSPQM, MSPQM.NT.Services, MSKSSRV, MSKSSRV.NT.Services, MSTEE, MSTEE.Interface.Install, MSTEE.NT.Services
CopyFiles = rtsuvc.CopyFiles,CopyExtDLL, CopyExtDLL64, RtsUvcTwain.CopyFiles, RtsUvcApp.CopyFiles
AddReg = RtsUVCApp.AddReg
;RegisterDlls = rtsuvc.RegisterDlls
AddProperty  = OEMCustom.AddProperty

[RGB_VENDOR_INTERNAL.NTamd64]
Include=ks.inf, kscaptur.inf
Needs=KS.Registration, KSCAPTUR.Registration.NT
CopyFiles = rtsuvc.CopyFiles, CopyExtDLL, CopyExtDLL64, RtsUvcTwain.CopyFiles, RtsUvcApp.CopyFiles
AddReg = RtsUVCApp.AddReg
;RegisterDlls = rtsuvc.RegisterDlls

[RGB_VENDOR_NO_PROVIDER.NTamd64]
Include=ks.inf, kscaptur.inf
Needs=KS.Registration, KSCAPTUR.Registration.NT
CopyFiles = rtsuvc.CopyFiles, CopyExtDLL, CopyExtDLL64, RtsUvcTwain.CopyFiles
;RtsUvcApp.CopyFiles
AddReg = RtsUVCApp.AddReg,RtsUVCProvider.AddReg
;RegisterDlls = rtsuvc.RegisterDlls
AddProperty  = OEMCustom.AddProperty

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

[RS_EX_IR_CAMERA.NTamd64]
Include    =  usbvideo.inf
Needs      =  USBVideo.NT
CopyFiles  =  Realtek.NTamd64.CopyFiles
RegisterDlls  =  RsDMFT_RegisterDlls_64
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

[OEMCustom.AddProperty]
{A8B865DD-2E3D-4094-AD97-E593A70C75D6},17,0x00000011,,-1

[RtsUvcApp.AddReg]
HKLM,%AUTORUN%,RtsFT,,"RTFTrack.exe"
HKLM,%LenovoCamera%,NoRotationInMetro,0x00010001,1
HKLM,%LenovoCamera%,DriverMFTSupport,0x00010001,1

[RtsUVCProvider.AddReg]
HKR,,DeleteProvider,0x00010001,1

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

[RGB_VENDOR_INTERNAL.NTamd64.HW]
AddReg=RGB_VENDOR_INTERNAL.AddReg

[RGB_VENDOR_INTERNAL.NTamd64.6.HW]
AddReg=RGB_VENDOR_INTERNAL.AddReg

[RGB_VENDOR_NO_PROVIDER.NTamd64.HW]
AddReg=RGB_VENDOR_INTERNAL.AddReg

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

[RS_EX_IR_CAMERA.NTamd64.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.NTamd64.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

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

[RGB_VENDOR_NO_PROVIDER.NTamd64.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
RtCamO64.dll

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"RtCamO64.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%"\RtCamU64.exe /u /s"
;HKLM,%RTSUVC_UNINSTALL%,DisplayIcon,,%10%"\RtCamU64.exe"
;HKLM,%RTSUVC_UNINSTALL%,Publisher,,%OrganizationName%
;HKLM,%RTSUVC_UNINSTALL%,DisplayVersion,,%DriverVersion%
;HKLM,%RTSUVC_UNINSTALL%,EstimatedSize,0x00010001,20000


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

[RGB_VENDOR_INTERNAL.NTamd64.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.NTamd64.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

[RGB_VENDOR_NO_PROVIDER.NTamd64.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.NTamd64.Interfaces]
Include = usbvideo.inf
Needs = usbvideo.NT.Interfaces
AddInterface = %KSCATEGORY_SENSOR_CAMERA%,GLOBAL,RS_IR_CAMERA_AddInterface
AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,USBVideo.Interface

[RS_EX_IR_CAMERA.NTamd64.Interfaces]
Include = usbvideo.inf
Needs = usbvideo.NT.Interfaces
AddInterface = %KSCATEGORY_SENSOR_CAMERA%,GLOBAL,RS_EX_IR_CAMERA_AddInterface
AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,USBVideo.Interface

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

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

[USBVideo.Interface]
AddReg=USBVideo.Interface.AddReg

[USBVideo.Interface.AddReg]
HKR,,CLSID,,%ProxyVCap.CLSID%
HKR,,FriendlyName,,%USBVideo.DeviceDesc%
HKR,,RTCFlags,0x00010001,0x00000010


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

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

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

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

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

[RS_EX_IR_CAMERA.NTamd64.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,1
;HKR,Parameters,CustomizeManufacturer,0x00010001,1
;HKR,Parameters,Manufacturer,0x00000000,"Lite-On"
;HKR,Parameters,SpecialSaveProperty,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, , RtCamP64.dll, 1
10, SysWow64, RtCamP.dll, 1

[RsDMFT_RegisterDlls_64]
11,,RsDMFT64.dll, 1


;---------------------------------------------------------------
;                D e l R e g
;---------------------------------------------------------------

[RS_Provider.DelReg]
HKLM,%RSProvider%

[PropertyUI]
PageOEM = Lenovo_AutoBanding


;---------------------------------------------------------------
;                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"
USBVideo.DeviceDesc="USB Video Device"

; 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"

AMD64_WOW6432CLSIDNODE="SOFTWARE\Wow6432Node\Classes\CLSID"
MedSets="SYSTEM\CurrentControlSet\Control\MediaSets"
CLSID_PropSet_VideoProcAmp_PPages = "{C6E13360-30AC-11d0-A18C-00A0C9118956}"
CLSID_PropPage_Setting = "{6BE3A97E-04CA-479b-9A6C-638EAB41059E}"
CLSID_PropPage_Setting_Desc = "RtsUvc Property Page - Setting Page"

LenovoCamera="Software\Lenovo\Camera\Integrated"

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


ModuleManufacture="Lite-On"
OrganizationName="Realtek Semiconductor Corp."
rtsuvc.DeviceDesc="EasyCamera"
rtsuvc.FriendlyName="EasyCamera"
;rtsuvc.UninstallName="EasyCamera"
;RTSUVC_UNINSTALL="Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{E399A5B3-ED53-4DEA-AF04-8011E1EB1EAC}"
cdname="EasyCamera"
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.16299.11322"
