[Version]
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%usbcamcl%
DriverVer=6/6/2006,1.02.0000
CatalogFile=usbcamcl.cat

[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%MfgName% = usbcamcl_Mfg,NTamd64

[usbcamcl_Mfg]
%usbcamcl_DeviceDesc%=usbcamcl.Device, USB\VID_18ec&PID_3399
%usbcamcl_DeviceDesc%=usbcamcl.Device, USB\VID_18ec&PID_3366
%usbcamcl_DeviceDesc%=usbcamcl.Device, USB\VID_18ec&PID_3299
%usbcamcl_DeviceDesc%=usbcamcl.Device, USB\VID_18ec&PID_3390
%usbcamcl_DeviceDesc%=usbcamcl.Device, USB\VID_18ec&PID_3360
%usbcamcl_DeviceDesc%=usbcamcl.Device, USB\VID_18ec&PID_3290
[usbcamcl_Mfg.NTamd64]
%usbcamcl_DeviceDesc%=usbcamcl.Device.NTamd64, USB\VID_18ec&PID_3399
%usbcamcl_DeviceDesc%=usbcamcl.Device.NTamd64, USB\VID_18ec&PID_3366
%usbcamcl_DeviceDesc%=usbcamcl.Device.NTamd64, USB\VID_18ec&PID_3299
%usbcamcl_DeviceDesc%=usbcamcl.Device.NTamd64, USB\VID_18ec&PID_3390
%usbcamcl_DeviceDesc%=usbcamcl.Device.NTamd64, USB\VID_18ec&PID_3360
%usbcamcl_DeviceDesc%=usbcamcl.Device.NTamd64, USB\VID_18ec&PID_3290


[usbcamcl.Device]
Include=    ks.inf, kscaptur.inf, dshowext.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT, DSHOWEXT.Registration
AddReg=     usbcamcl_AddReg
CopyFiles=  usbcamcl.CopyDrivers,usbcamcl.CopyFilters
KnownFiles= usbcamcl.KnownFiles

[usbcamcl.Device.NTamd64]
Include=    ks.inf,kscaptur.inf
Needs=      Stream.Registration,KS.Registration,KSCAPTUR.Registration.NT
AddReg=     usbcamcl_NTamd64_AddReg
CopyFiles=  usbcamcl.CopyDrivers,usbcamcl.CopyFilters
KnownFiles= usbcamcl.KnownFiles

[usbcamcl_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbcamcl.sys
HKR,,NTMPDriver,,usbDecode.sys
HKR,,NTMPDriver,,FaceDll.sys
HKR,,Description,,%usbcamcl_DeviceDesc%
HKR,,PageOutWhenUnopened,3,01
HKR,,DontSuspendIfStreamsAreRunning,3,01

[usbcamcl_NTamd64_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbcamcl.sys
HKR,,NTMPDriver,,usbDecode.sys
HKR,,NTMPDriver,,FaceDll.sys
HKR,,Description,,%usbcamcl_DeviceDesc%
HKR,,PageOutWhenUnopened,3,01
HKR,,DontSuspendIfStreamsAreRunning,3,01

[usbcamcl.Device.Services]
Addservice = usbcamcl, %FLG_ADDREG_NOCLOBBER%, usbcamcl_Service

[usbcamcl.Device.NTamd64.Services]
Addservice = usbcamcl, %FLG_ADDREG_NOCLOBBER%, usbcamcl_Service


[usbcamcl.Device.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={6994AD05-93EF-11D0-A3CC-00A0C9223196},"GLOBAL",VideoCapture,

[usbcamcl.Device.NTamd64.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={6994AD05-93EF-11D0-A3CC-00A0C9223196},"GLOBAL",VideoCapture,

[VideoCapture]
AddReg=VideoCapture.AddReg

[VideoCapture.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%usbcamcl.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}
;IFace
HKCR,CLSID\{AF4BC5C4-BBAF-4e52-BDB7-63601F3EB6B9},,,%PlugIn_IFace%
HKCR,CLSID\{AF4BC5C4-BBAF-4e52-BDB7-63601F3EB6B9}\InprocServer32,,,face.ax
HKCR,CLSID\{AF4BC5C4-BBAF-4e52-BDB7-63601F3EB6B9}\InprocServer32,ThreadingModel,,Both
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{AF4BC5C4-BBAF-4e52-BDB7-63601F3EB6B9},,,%PlugIn_IFace%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{AF4BC5C4-BBAF-4e52-BDB7-63601F3EB6B9},IID,1,C4,C5,4B,AF,AF,BB,52,4E,BD,B7,63,60,1F,3E,B6,B9
HKCR,CLSID\{BDC7DE43-8AEC-4d4a-A7B5-6BB09E6CF84F},,,%PropPage_Face%
HKCR,CLSID\{BDC7DE43-8AEC-4d4a-A7B5-6BB09E6CF84F}\InprocServer32,,,face.ax
HKCR,CLSID\{BDC7DE43-8AEC-4d4a-A7B5-6BB09E6CF84F}\InprocServer32,ThreadingModel,,Both
HKLM,System\CurrentControlSet\Control\MediaSets\{AF4BC5C4-BBAF-4e52-BDB7-63601F3EB6B9}\PropertyPages\{BDC7DE43-8AEC-4d4a-A7B5-6BB09E6CF84F},,,%PropPage_Face%


[DestinationDirs]
usbcamcl.CopyDrivers=10,system32\drivers
usbcamcl.CopyFilters=10,system32

[SourceDisksNames]
1=10,system32\drivers

[SourceDisksFiles]
usbcamcl.sys  = 1
usbDecode.sys  = 1
FaceDll.sys  = 1


; --------- Service ----------------------

[usbcamcl_Service]
DisplayName    = %usbcamcl_SvcDesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\usbcamcl.sys
LoadOrderGroup = Extended Base

; --------- Files ----------------------

[usbcamcl.CopyDrivers]
;usbcamcl.sys
;usbDecode.sys
;FaceDll.sys

[usbcamcl.CopyFilters]
;Property2000.ax
;face.ax

[usbcamcl.KnownFiles]
usbcamcl.sys=safe
usbDecode.sys=safe

;--------- Strings Section ---------------------------------------------------

[Strings]
usbcamcl = "USB2.0 PC CAMERA"
MfgName = USB2.0 PC CAMERA
usbcamcl_DeviceDesc = "USB2.0 PC CAMERA"
DeviceClassName="Class for video devices"
usbcamcl_SvcDesc = "Driver for usbcamcl Device"
usbcamcl.Disk1=      "Install Disk"
usbcamcl.Capture=    "USB2.0 PC CAMERA"
PlugIn_IFace= "Face Interface Handler"
PropPage_Face= "Face Property Page"


REG_SZ                      = 0x00000000
REG_MULTI_SZ                = 0x00010000
REG_EXPAND_SZ               = 0x00020000
REG_BINARY                  = 0x00000001
REG_DWORD                   = 0x00010001
REG_NONE                    = 0x00020001

SERVICE_KERNEL_DRIVER       = 0x00000001
SERVICE_FILE_SYSTEM_DRIVER  = 0x00000002
SERVICE_ADAPTER             = 0x00000004
SERVICE_RECOGNIZER_DRIVER   = 0x00000008

SERVICE_BOOT_START          = 0x0
SERVICE_SYSTEM_START        = 0x1
SERVICE_AUTO_START          = 0x2
SERVICE_DEMAND_START        = 0x3
SERVICE_DISABLED            = 0x4

SERVICE_ERROR_IGNORE        = 0x00000000
SERVICE_ERROR_NORMAL        = 0x00000001
SERVICE_ERROR_SEVERE        = 0x00000002
SERVICE_ERROR_CRITICAL      = 0x00000003

FLG_ADDREG_NOCLOBBER        = 0x00000002
FLG_ADDREG_DELVAL           = 0x00000004
FLG_ADDREG_APPEND           = 0x00000008
FLG_ADDREG_KEYONLY          = 0x00000010
FLG_ADDREG_OVERWRITEONLY    = 0x00000020
FLG_ADDREG_64BITKEY         = 0x00001000
FLG_ADDREG_KEYONLY_COMMON   = 0x00002000
FLG_ADDREG_32BITKEY         = 0x00004000

