[Version]
signature="$Windows NT$"
Class=Camera
ClassGuid={ca3e7ab9-b4c3-4ae6-8251-579ef933890f}
Provider=%ManufacturerName%
Catalogfile=SnapCameraVirtualDevice.cat
DriverVer = 03/25/2019,17.2.55.532

[SourceDisksNames]
1000=%DiskName%,,,

[SourceDisksFiles]
SnapCameraVirtualDevice.sys=1000

[DestinationDirs]
DefaultDestDir=12
SnapCameraVirtualDevice.CopyFiles=12

[SnapCameraVirtualDevice.CopyFiles]
SnapCameraVirtualDevice.sys

[Manufacturer]
%ManufacturerName%=Models,NTamd64

[Models.NTamd64]
%Description%=SnapCameraVirtualDevice.NTamd64,SnapCameraVirtualDevice

[SnapCameraVirtualDevice.NTamd64]
Include=ks.inf,KSCAPTUR.inf
Needs=KS.Registration,KSCAPTUR.Registration.NT
CopyFiles=SnapCameraVirtualDevice.CopyFiles

[SnapCameraVirtualDevice.NTamd64.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,"GLOBAL",CaptureInterface,0
AddInterface=%KSCATEGORY_VIDEO%,"GLOBAL",CaptureInterface,0
AddInterface=%KSCATEGORY_VIDEO_CAMERA%,"GLOBAL",CaptureInterface,0

[CaptureInterface]
AddReg=SnapCameraVirtualDevice.Reader.AddReg

[SnapCameraVirtualDevice.Reader.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%FriendlyName%

[SnapCameraVirtualDevice.NTamd64.Services]
AddService=SnapCameraVirtualDevice,0x00000002,SnapCameraVirtualDevice.ServiceInstall

[SnapCameraVirtualDevice.ServiceInstall]
DisplayName=%Description%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%12%\SnapCameraVirtualDevice.sys

[Strings]
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}"

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

ManufacturerName="Snap Inc."
Description="Snap Camera"
FriendlyName="Snap Camera"
DiskName="Snap Camera Installation Files"
