
[Version]
signature="$Windows NT$"
Class=Camera
ClassGuid={ca3e7ab9-b4c3-4ae6-8251-579ef933890f}
PnpLockdown=1
Provider=%ProviderName%
Catalogfile=driver_all.cat
DriverVer = 12/07/2023,1.0.0.9

[SourceDisksNames]
1 = %DiskId1%,,,""

[SourceDisksFiles]
BYOM.sys=1

[DestinationDirs]
BYOMCamera.CopySys = 13

[BYOMCamera.CopySys]
BYOM.sys

[Manufacturer]
%ManufacturerName%=BYOMCamera.Device,NTamd64

[BYOMCamera.Device.NTamd64]
%BYOMCamera.DeviceDesc%=BYOMCamera,Root\BYOMCamera

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

[TranScreenCamera.NTarm]
%BYOMCamera.DeviceDesc%=BYOMCamera,Root\BYOMCamera

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

[TranScreenCamera.NTarm64]
%BYOMCamera.DeviceDesc%=BYOMCamera,Root\BYOMCamera

[BYOMCamera]
Include=ks.inf, kscaptur.inf
Needs=KS.Registration, KSCAPTUR.Registration.NT
CopyFiles=BYOMCamera.CopySys

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

[BYOMCamera.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,%BYOMCamera_RearFilterGUID%,RearCameraInterface.NT,
AddInterface=%KSCATEGORY_VIDEO%,%BYOMCamera_RearFilterGUID%,RearCameraInterface.NT,
AddInterface=%KSCATEGORY_VIDEO_CAMERA%,%BYOMCamera_RearFilterGUID%,RearCameraInterface.NT,

[RearCameraInterface.NT]
AddReg=BYOMCamera.RearCamera.AddReg

; Uncomment the following line to enable profile information.
AddReg=BYOMCamera.Profiles.RearCamera.AddReg

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

[BYOMCamera.RearCamera.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%BYOMCamera.FriendlyName%

;
;   Profile information for the rear camera
;
; Uncomment the following lines to enable profile information.
;
[BYOMCamera.Profiles.RearCamera.AddReg]
HKR,,"OEMCameraProfiles",0,"KSCAMERAPROFILE_VideoRecording,0;KSCAMERAPROFILE_VideoRecording,1;KSCAMERAPROFILE_VideoRecording,2;KSCAMERAPROFILE_VideoConferencing,0;KSCAMERAPROFILE_HighQualityPhoto,0;KSCAMERAPROFILE_PhotoSequence,0;KSCAMERAPROFILE_BalancedVideoAndPhoto,0;{F2D45EB9-549C-46FE-9CC7-A8A673A06EB9},0",
HKR,,"ReferenceGUID",0,%BYOMCamera_RearFilterGUID%
HKR,"KSCAMERAPROFILE_BalancedVideoAndPhoto,0\PINNAME_VIDEO_PREVIEW","MediaCount",0x00010001,1
HKR,"KSCAMERAPROFILE_BalancedVideoAndPhoto,0\PINNAME_VIDEO_PREVIEW","Media0",0,"1920,1080,30000,1001,0,0,0,0,0"
HKR,"KSCAMERAPROFILE_BalancedVideoAndPhoto,0\PINNAME_VIDEO_CAPTURE","MediaCount",0x00010001,1
HKR,"KSCAMERAPROFILE_BalancedVideoAndPhoto,0\PINNAME_VIDEO_CAPTURE","Media0",0,"1920,1080,30000,1001,0,0,0,0,0"
HKR,"KSCAMERAPROFILE_BalancedVideoAndPhoto,0\PINNAME_IMAGE","MediaCount",0x00010001,2
HKR,"KSCAMERAPROFILE_BalancedVideoAndPhoto,0\PINNAME_IMAGE","Media0",0,"1920,1080,0,0,0,0,0,0,0"
HKR,"KSCAMERAPROFILE_BalancedVideoAndPhoto,0\PINNAME_IMAGE","Media1",0,"1920,1080,30000,1001,0x10,0,0,0,0"
HKR,"KSCAMERAPROFILE_VideoRecording,0\PINNAME_VIDEO_PREVIEW","MediaCount",0x00010001,2
HKR,"KSCAMERAPROFILE_VideoRecording,0\PINNAME_VIDEO_PREVIEW","Media0",0,"1920,1080,30000,1001,0,0,0,0,0"
HKR,"KSCAMERAPROFILE_VideoRecording,0\PINNAME_VIDEO_PREVIEW","Media1",0,"640,480,30000,1001,0,0,0,0,0"
HKR,"KSCAMERAPROFILE_VideoRecording,0\PINNAME_VIDEO_CAPTURE","MediaCount",0x00010001,2
HKR,"KSCAMERAPROFILE_VideoRecording,0\PINNAME_VIDEO_CAPTURE","Media0",0,"1920,1080,30000,1001,0,0,0,0,0"
HKR,"KSCAMERAPROFILE_VideoRecording,0\PINNAME_VIDEO_CAPTURE","Media1",0,"640,480,30000,1001,0,0,0,0,0"
HKR,"KSCAMERAPROFILE_VideoRecording,1\PINNAME_VIDEO_PREVIEW","MediaCount",0x00010001,1
HKR,"KSCAMERAPROFILE_VideoRecording,1\PINNAME_VIDEO_PREVIEW","Media0",0,"1920,1080,60000,1001,0,0,0,0,0"
HKR,"KSCAMERAPROFILE_VideoRecording,1\PINNAME_VIDEO_CAPTURE","MediaCount",0x00010001,1
HKR,"KSCAMERAPROFILE_VideoRecording,1\PINNAME_VIDEO_CAPTURE","Media0",0,"1920,1080,60000,1001,0,0,0,0,0"
HKR,"KSCAMERAPROFILE_VideoRecording,2\PINNAME_VIDEO_PREVIEW","MediaCount",0x00010001,1
HKR,"KSCAMERAPROFILE_VideoRecording,2\PINNAME_VIDEO_PREVIEW","Media0",0,"1920,1080,10000000,83333,0,0,0,0,0"
HKR,"KSCAMERAPROFILE_VideoRecording,2\PINNAME_VIDEO_CAPTURE","MediaCount",0x00010001,1
HKR,"KSCAMERAPROFILE_VideoRecording,2\PINNAME_VIDEO_CAPTURE","Media0",0,"1920,1080,10000000,83333,0,0,0,0,0"
HKR,"KSCAMERAPROFILE_PhotoSequence,0","Disabled",0x00010001,1
HKR,"KSCAMERAPROFILE_HighQualityPhoto,0\PINNAME_VIDEO_PREVIEW","MediaCount",0x00010001,2
HKR,"KSCAMERAPROFILE_HighQualityPhoto,0\PINNAME_VIDEO_PREVIEW","Media0",0,"1920,1080,30000,1001,0,0,0,0,0"
HKR,"KSCAMERAPROFILE_HighQualityPhoto,0\PINNAME_VIDEO_PREVIEW","Media1",0,"640,480,30000,1001,0,0,0,0,0"
HKR,"KSCAMERAPROFILE_HighQualityPhoto,0\PINNAME_IMAGE","MediaCount",0x00010001,2
HKR,"KSCAMERAPROFILE_HighQualityPhoto,0\PINNAME_IMAGE","Media0",0,"1920,1080,0,0,0,0,0,0,0"
HKR,"KSCAMERAPROFILE_HighQualityPhoto,0\PINNAME_IMAGE","Media1",0,"1920,1080,30000,1001,0x10,0,0,0,0"
HKR,"KSCAMERAPROFILE_VideoConferencing,0\PINNAME_VIDEO_PREVIEW","MediaCount",0x00010001,2
HKR,"KSCAMERAPROFILE_VideoConferencing,0\PINNAME_VIDEO_PREVIEW","Media0",0,"1920,1080,30000,1001,0,0,0,0,0"
HKR,"KSCAMERAPROFILE_VideoConferencing,0\PINNAME_VIDEO_PREVIEW","Media1",0,"640,480,30000,1001,0,0,0,0,0"
HKR,"KSCAMERAPROFILE_VideoConferencing,0\PINNAME_VIDEO_CAPTURE","MediaCount",0x00010001,2
HKR,"KSCAMERAPROFILE_VideoConferencing,0\PINNAME_VIDEO_CAPTURE","Media0",0,"1920,1080,30000,1001,0,0,0,0,0"
HKR,"KSCAMERAPROFILE_VideoConferencing,0\PINNAME_VIDEO_CAPTURE","Media1",0,"640,480,30000,1001,0,0,0,0,0"
HKR,"KSCAMERAPROFILE_VideoConferencing,0","Concurrency",0,"%BYOMCamera_RearFilterGUID%;KSCAMERAPROFILE_VideoConferencing,0"
HKR,"{F2D45EB9-549C-46FE-9CC7-A8A673A06EB9},0\PINNAME_VIDEO_PREVIEW","MediaCount",0x00010001,1
HKR,"{F2D45EB9-549C-46FE-9CC7-A8A673A06EB9},0\PINNAME_VIDEO_PREVIEW","Media0",0,"1920,1080,30000,1001,0,0,0,0,0"
HKR,"{F2D45EB9-549C-46FE-9CC7-A8A673A06EB9},0\PINNAME_VIDEO_CAPTURE","MediaCount",0x00010001,1
HKR,"{F2D45EB9-549C-46FE-9CC7-A8A673A06EB9},0\PINNAME_VIDEO_CAPTURE","Media0",0,"640,480,30000,1001,0,0,0,0,0"


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

[BYOMCamera.Services]
AddService=BYOMCamera, 0x00000002, BYOMCamera.ServiceInstall

[BYOMCamera.ServiceInstall]
DisplayName=%BYOMCamera.DeviceDesc%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%13%\BYOM.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}"


; The following GUIDs need to match the filter factory descriptors
BYOMCamera_RearFilterGUID= "{C1B6000A-C1D8-46F8-BB41-A8BB4EAC7B5A}"

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

;localizable
ProviderName="BYOM-Camera"
ManufacturerName="Shenzhen Horion Software Co., Ltd."
DiskId1="BYOM-Media"
BYOMCamera.DeviceDesc="BYOM-Media"
BYOMCamera.FriendlyName="BYOM-Media"

