;/*++
;
;Copyright (c) Microsoft Corporation.  All rights reserved.
;
;    THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
;    KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
;    IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
;    PURPOSE.
;
;Module Name:
;
;    RFCAMERA.INF
;
;Abstract:
;
;    AVStream pin centric sample mini driver (RFCAMERA.sys) installation file. 
;
;--*/

[Version]
signature="$WINDOWS NT$"
Class=Camera
ClassGuid={ca3e7ab9-b4c3-4ae6-8251-579ef933890f} ;Camera Class Guid
Provider=%ProviderName%
Catalogfile=RFCamera.cat
DriverVer = 09/24/2025,16.23.9.898
PnpLockdown=1

[SourceDisksNames]
1000=%cdname%,,,

[SourceDisksFiles]
RFCamera.sys=1000
RFCameraMft0.dll=1000

[DestinationDirs]
DefaultDestDir=13
Driver.CopyFiles=13

[Driver.CopyFiles]
RFCamera.sys
RFCameraMft0.dll

[Manufacturer]
%ManufacturerName%=Standard,NTamd64.10.0...16299

[Standard.NTamd64.10.0...16299]
%ReadyForCamera.DeviceDesc%=Dev_Install,ReadyForCamera ;ReadyForCamera is the hw-id, device-description=install-section-name,[hw-id][,compatible-id...]

[Dev_Install]
Include=ks.inf, KSCAPTUR.inf
Needs=KS.Registration,KSCAPTUR.Registration.NT
CopyFiles=Driver.CopyFiles
AddReg=RFCamera.MFT.AddReg

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

[Dev_Install.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,"GLOBAL",CaptureInterface.NT,0
AddInterface=%KSCATEGORY_VIDEO%,"GLOBAL",CaptureInterface.NT,0
AddInterface=%KSCATEGORY_VIDEO_CAMERA%,"GLOBAL",CaptureInterface.NT,0

[CaptureInterface.NT]
AddReg=Dev_AddReg

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

[Dev_AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%ReadyForCamera.FriendlyName%
HKR,,CameraDeviceMftClsid,,%MFT0.CLSID%

[RFCamera.MFT.AddReg]
HKCR,CLSID\%MFT0.CLSID%,,,"RFCamera MFT0 Class"
HKCR,CLSID\%MFT0.CLSID%\InprocServer32,,%REG_EXPAND_SZ%,"%13%\RFCameraMft0.dll"
HKCR,CLSID\%MFT0.CLSID%\InprocServer32,ThreadingModel,,"Both"
;---------------------------------------------------------------
;                S e r v i c e s  
;---------------------------------------------------------------

[Dev_Install.Services]
AddService=ReadyForCameraService, 0x00000002, Dev_Install.ServiceInstall

[Dev_Install.ServiceInstall]
DisplayName=%ReadyForCamera.DeviceDesc%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%13%\RFCamera.sys

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

[Strings]
; non-localizable
Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_VIDEO="{6994AD05-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_VIDEO_CAMERA="{E5323777-F976-4f5b-9B55-B94699C46E44}"
MFT0.CLSID="{BA31E4E4-F205-CCAD-1BD0-3926877F6A0A}"

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

;localizable
ProviderName="Motorola"
ManufacturerName="Motorola"
ReadyForCamera.DeviceDesc="Smart Connect Camera"
ReadyForCamera.FriendlyName="Smart Connect Camera"
cdname="Smart Connect Camera Installation Disk"
