;
; Webcam.INF  -- This file contains installation information for Capture Device.
;               
;
;

[Version]
signature="$CHICAGO$"
;Class=Media
;ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%ProviderName%
DriverVer=20/01/2009,1.1.0.0
CatalogFile=Webcam.cat

[ControlFlags]
;ExcludeFromSelect=*

[Manufacturer]
%MsftMfg%=Microsoft

[DestinationDirs]
Webcam.CopyDrivers=10,system32\drivers

[SourceDisksNames]
1=%WEBCAM.Disk1%,,,

[SourceDisksFiles]
Webcam.sys=1

;---------------------------------------------------------------
;                        A M B A R E L L A
;
;                 C A P T U R E       D E V I C E
;---------------------------------------------------------------

[Microsoft]
%WEBCAM.DeviceDesc% = Webcam.Device, USB\VID_0458&PID_7069&MI_00

[Webcam.Device.NT]
Include=    ks.inf, kscaptur.inf, ksfilter.inf, dshowext.inf
Needs=      Stream.Registration,KS.Registration,KSCAPTUR.Registration.NT,DSHOWEXT.Registration
AddReg=     Webcam.AddReg
CopyFiles=  Webcam.CopyDrivers

; WIA
SubClass=StillImage
DeviceType=3
;            1 for scanners
;            2 for cameras
;            3 for streaming video

DeviceSubType=0x1
DeviceData = Webcam.DeviceData
Capabilities=0x00000031
ICMProfiles="sRGB Color Space Profile.icm"

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

[Webcam.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,Webcam.sys
HKR,,PageOutWhenUnopened,3,00
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKR,,USDClass,,"{0527d1d0-88c2-11d2-82c7-00c04f8ec183}"

; WIA
HKR,,HardwareConfig,1,1
;                       1,1  - generic WDM device
;                       1,2  - SCSI device
;                       1,4  - USB device
;                       1,8  - serial device
;                       1,16 - parallel device

[Webcam.CopyDrivers]
Webcam.sys

[WEBCAM.Device.NT.Interfaces]
AddInterface=%KSCATEGORY_VIDEO%,"GLOBAL",VideoCapture
AddInterface=%KSCATEGORY_CAPTURE%,"GLOBAL",VideoCapture

[VideoCapture]
AddReg = VideoCapture.AddReg

[VideoCapture.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%WEBCAM.Capture%

; IAMVideoCompression installed as static interface on both output pins
HKR,PinFactory\0\Interfaces\{C6E13343-30AC-11d0-A18C-00A0C9118956},,,{C6E13343-30AC-11d0-A18C-00A0C9118956}
HKR,PinFactory\1\Interfaces\{C6E13343-30AC-11d0-A18C-00A0C9118956},,,{C6E13343-30AC-11d0-A18C-00A0C9118956}

[Webcam.Device.NT.Services]
AddService = WEBCAM,0x00000002,Webcam.ServiceInstall

[Webcam.ServiceInstall]
DisplayName   = %WEBCAM.DeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\Webcam.sys

[Webcam.Topo]
AddReg = Webcam.Topo.AddReg

[Webcam.Topo.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%Webcam.Topo%

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

[Strings]
Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_VIDEO="{6994AD05-93EF-11D0-A3CC-00A0C9223196}"
CAP_FILTER = "{C7339EEC-DD0A-4ca6-BD42-299DCFEA0206}"

;----------------
; Non-Localizable
;----------------

SERVICE_KERNEL_DRIVER=1
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1


;----------------
; Localizable
;----------------

KSNAME_Wave = "Wave"
KSNAME_Topology = "Topology"
Webcam.Topo = "Webcam Topology"

ProviderName=       ""
MsftMfg=            ""
WEBCAM.Disk1=      "Install Disk"
WEBCAM.DeviceDesc= "Webcam"
WEBCAM.Capture=    " Webcam"