;================================================================================
; Copyright: Philips Consumer Electronics CSI, 2007
;
; Camvid40.inf -- This file contains installation information 
		  for the following camera:
;                 - SPC900NC
;
;                 Installation is for Windows XP x64 and Windows Vista x32 and x64.
;                  
; Inf.files set version: 1.0.3.37
; revised              : April 23, 2007
;
;================================================================================

;
; Copyright: Fourtress BV 2007
; Philips SPC900 Driver for:
;         - Vista 32 bit
;         - Vista 64 bit
;         - XP 64 bit
;

[Version]
signature="$Windows NT$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%PName%
Catalogfile=Camvid40.cat
DriverVer=04/23/2007,1.0.3.37

[SourceDisksNames]
1=%cdname%,,,\vista32
2=%cdname%,,,\xp64
3=%cdname%,,,\vista64

[SourceDisksFiles.x86]
camdrv41.sys=1
Agcgauge.ax=1

[SourceDisksFiles]
CamExt40V32.ax=1
;XP 64 version
camdrv41.sys=2
CamExt40XP64.ax=2
;Vista 64 version
camdrv42.sys=3
CamExt40V64.ax=3

[DestinationDirs]
DefaultDestDir=12
USBVid.CopyFilesV32=12
USBVid.CopyFilesXP64=12
USBVid.CopyFilesV64=12
USBVid.CopyPropPgV32=11
USBVid.CopyPropPgXP64=11
USBVid.CopyPropPgXP6432=10,\SysWOW64
USBVid.CopyPropPgV64=11
USBVid.CopyPropPgV6432=10,\SysWOW64
USBVid.CopyFilter=11


[Manufacturer]
%Philips.Mfg%=Philips,NTx86,NTamd64.5.2,NTamd64.6.0

[Philips.NTx86]
%USBVid.DeviceDesc%=USBVidx86,USB\VID_0471&PID_0329&MI_00

[Philips.NTamd64.5.2]
%USBVid.DeviceDesc%=USBVidXp64,USB\VID_0471&PID_0329&MI_00

[Philips.NTamd64.6.0]
%USBVid.DeviceDesc%=USBVidVista64,USB\VID_0471&PID_0329&MI_00
;---------------------------------------------------------------
;                x 86  D D I n s t a l l
;---------------------------------------------------------------
[USBVidx86]
Include=ks.inf, KSCAPTUR.inf, 
Needs=KS.Registration,KSCAPTUR.Registration.NT
CopyFiles=USBVid.CopyFilesV32, USBVid.CopyPropPgV32,USBVid.CopyFilter

;---------------------------------------------------------------
;                A M D 64  D D I n s t a l l
;---------------------------------------------------------------
[USBVidXp64]
Include=ks.inf, KSCAPTUR.inf, 
Needs=KS.Registration,KSCAPTUR.Registration.NT
CopyFiles=USBVid.CopyFilesXP64,USBVid.CopyPropPgXP64,USBVid.CopyPropPgXP6432

[USBVidVista64]
Include=ks.inf, KSCAPTUR.inf, 
Needs=KS.Registration,KSCAPTUR.Registration.NT
CopyFiles=USBVid.CopyFilesV64,USBVid.CopyPropPgV64,USBVid.CopyPropPgV6432

[USBVid.CopyFilesV32]
camdrv41.sys

[USBVid.CopyFilesXP64]
camdrv41.sys

[USBVid.CopyFilesV64]
camdrv42.sys

[USBVid.CopyPropPgV32]
CamExt40V32.ax

[USBVid.CopyPropPgXP64]
CamExt40XP64.ax

[USBVid.CopyPropPgXP6432]
CamExt40V32.ax

[USBVid.CopyPropPgV64]
CamExt40V64.ax

[USBVid.CopyPropPgV6432]
CamExt40V32.ax

[USBVid.CopyFilter]
Agcgauge.ax

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

[USBVidx86.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,"GLOBAL",CaptureInterfaceV32,
AddInterface=%KSCATEGORY_VIDEO%,"GLOBAL",CaptureInterfaceV32,

[USBVidXp64.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,"GLOBAL",CaptureInterfaceXp64,
AddInterface=%KSCATEGORY_VIDEO%,"GLOBAL",CaptureInterfaceXp64,

[USBVidVista64.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,"GLOBAL",CaptureInterfaceV64,
AddInterface=%KSCATEGORY_VIDEO%,"GLOBAL",CaptureInterfaceV64,

[CaptureInterfaceV32]
AddReg=USBVid.Reader.AddReg, USBVid.PlugInsV32

[CaptureInterfaceXP64]
AddReg=USBVid.Reader.AddReg, USBVid.PlugInsXP64, USBVid.PlugInsXP6432

[CaptureInterfaceV64]
AddReg=USBVid.Reader.AddReg, USBVid.PlugInsV64, USBVid.PlugInsV6432


;---------------------------------------------------------------
;                Vista x86
;---------------------------------------------------------------
[USBVid.PlugInsV32]

; ICustomCameraProp
HKCR,CLSID\%CLSID_AVS900%,,,%PlugIn%
HKCR,CLSID\%CLSID_AVS900%\InprocServer32,,,CamExt40V32.ax
HKCR,CLSID\%CLSID_AVS900%\InprocServer32,ThreadingModel,,Both

; This IID is aggregated for the filter given the CLSID of the property set
HKLM,System\CurrentControlSet\Control\MediaInterfaces\%CLSID_AVS900%,,,%PlugIn%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\%CLSID_AVS900%,    IID,1,B6,CC,B8,63, 5F,01, 1D,4B, 0xAA, 0xD3, 0xD4, 0x15, 0x8A, 0xA1, 0xA9, 0xE3

; SPC900 Custom Camera Property Page
HKCR,CLSID\%CLSID_PropPage_General_SPC900%,,,%PropPage_General%
HKCR,CLSID\%CLSID_PropPage_General_SPC900%\InprocServer32,,,CamExt40V32.ax
HKCR,CLSID\%CLSID_PropPage_General_SPC900%\InprocServer32,ThreadingModel,,Both

; SPC900 Custom Image Property Page
HKCR,CLSID\%CLSID_PropPage_Picture_SPC900%,,,%PropPage_Picture%
HKCR,CLSID\%CLSID_PropPage_Picture_SPC900%\InprocServer32,,,CamExt40V32.ax
HKCR,CLSID\%CLSID_PropPage_Picture_SPC900%\InprocServer32,ThreadingModel,,Both

; SPC900 Custom Audio Property Page
HKCR,CLSID\%CLSID_PropPage_Audio_SPC900%,,,%PropPage_Audio%
HKCR,CLSID\%CLSID_PropPage_Audio_SPC900%\InprocServer32,,,CamExt40V32.ax
HKCR,CLSID\%CLSID_PropPage_Audio_SPC900%\InprocServer32,ThreadingModel,,Both

; Associate the property set with the property page
HKLM,System\CurrentControlSet\Control\MediaSets\%CLSID_AVS900%\PropertyPages\%CLSID_PropPage_General_SPC900%,,,%PropPage_General%
HKLM,System\CurrentControlSet\Control\MediaSets\%CLSID_AVS900%\PropertyPages\%CLSID_PropPage_Picture_SPC900%,,,%PropPage_Picture%
HKLM,System\CurrentControlSet\Control\MediaSets\%CLSID_AVS900%\PropertyPages\%CLSID_PropPage_Audio_SPC900%,,,%PropPage_Audio%

;---------------------------------------------------------------
;                XP x64
;---------------------------------------------------------------
[USBVid.PlugInsXP64]

; ICustomCameraProp
HKCR,CLSID\%CLSID_AVS900%,,,%PlugIn%
HKCR,CLSID\%CLSID_AVS900%\InprocServer32,,,CamExt40XP64.ax
HKCR,CLSID\%CLSID_AVS900%\InprocServer32,ThreadingModel,,Both

; This IID is aggregated for the filter given the CLSID of the property set
HKLM,System\CurrentControlSet\Control\MediaInterfaces\%CLSID_AVS900%,,,%PlugIn%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\%CLSID_AVS900%,    IID,1,B6,CC,B8,63, 5F,01, 1D,4B, 0xAA, 0xD3, 0xD4, 0x15, 0x8A, 0xA1, 0xA9, 0xE3

; SPC900 Custom Camera Property Page
HKCR,CLSID\%CLSID_PropPage_General_SPC900%,,,%PropPage_General%
HKCR,CLSID\%CLSID_PropPage_General_SPC900%\InprocServer32,,,CamExt40XP64.ax
HKCR,CLSID\%CLSID_PropPage_General_SPC900%\InprocServer32,ThreadingModel,,Both

; SPC900 Custom Image Property Page
HKCR,CLSID\%CLSID_PropPage_Picture_SPC900%,,,%PropPage_Picture%
HKCR,CLSID\%CLSID_PropPage_Picture_SPC900%\InprocServer32,,,CamExt40XP64.ax
HKCR,CLSID\%CLSID_PropPage_Picture_SPC900%\InprocServer32,ThreadingModel,,Both

; SPC900 Custom Audio Property Page
HKCR,CLSID\%CLSID_PropPage_Audio_SPC900%,,,%PropPage_Audio%
HKCR,CLSID\%CLSID_PropPage_Audio_SPC900%\InprocServer32,,,CamExt40XP64.ax
HKCR,CLSID\%CLSID_PropPage_Audio_SPC900%\InprocServer32,ThreadingModel,,Both

; Associate the property set with the property page
HKLM,System\CurrentControlSet\Control\MediaSets\%CLSID_AVS900%\PropertyPages\%CLSID_PropPage_General_SPC900%,,,%PropPage_General%
HKLM,System\CurrentControlSet\Control\MediaSets\%CLSID_AVS900%\PropertyPages\%CLSID_PropPage_Picture_SPC900%,,,%PropPage_Picture%
HKLM,System\CurrentControlSet\Control\MediaSets\%CLSID_AVS900%\PropertyPages\%CLSID_PropPage_Audio_SPC900%,,,%PropPage_Audio%

[USBVid.PlugInsXP6432]

; ICustomCameraProp 64bit
HKCR,Wow6432Node\CLSID\%CLSID_AVS900%,,,%PlugIn%
HKCR,Wow6432Node\CLSID\%CLSID_AVS900%\InprocServer32,,,CamExt40V32.ax
HKCR,Wow6432Node\CLSID\%CLSID_AVS900%\InprocServer32,ThreadingModel,,Both

; SPC900 Custom Camera Property Page 64bit
HKCR,Wow6432Node\CLSID\%CLSID_PropPage_General_SPC900%,,,%PropPage_General%
HKCR,Wow6432Node\CLSID\%CLSID_PropPage_General_SPC900%\InprocServer32,,,CamExt40V32.ax
HKCR,Wow6432Node\CLSID\%CLSID_PropPage_General_SPC900%\InprocServer32,ThreadingModel,,Both

; SPC900 Custom Image Property Page 64bit
HKCR,Wow6432Node\CLSID\%CLSID_PropPage_Picture_SPC900%,,,%PropPage_Picture%
HKCR,Wow6432Node\CLSID\%CLSID_PropPage_Picture_SPC900%\InprocServer32,,,CamExt40V32.ax
HKCR,Wow6432Node\CLSID\%CLSID_PropPage_Picture_SPC900%\InprocServer32,ThreadingModel,,Both

; SPC900 Custom Audio Property Page 64bit
HKCR,Wow6432Node\CLSID\%CLSID_PropPage_Audio_SPC900%,,,%PropPage_Audio%
HKCR,Wow6432Node\CLSID\%CLSID_PropPage_Audio_SPC900%\InprocServer32,,,CamExt40V32.ax
HKCR,Wow6432Node\CLSID\%CLSID_PropPage_Audio_SPC900%\InprocServer32,ThreadingModel,,Both

;---------------------------------------------------------------
;                Vista x64
;---------------------------------------------------------------
[USBVid.PlugInsV64]

; ICustomCameraProp
HKCR,CLSID\%CLSID_AVS900%,,,%PlugIn%
HKCR,CLSID\%CLSID_AVS900%\InprocServer32,,,CamExt40V64.ax
HKCR,CLSID\%CLSID_AVS900%\InprocServer32,ThreadingModel,,Both

; This IID is aggregated for the filter given the CLSID of the property set
HKLM,System\CurrentControlSet\Control\MediaInterfaces\%CLSID_AVS900%,,,%PlugIn%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\%CLSID_AVS900%,    IID,1,B6,CC,B8,63, 5F,01, 1D,4B, 0xAA, 0xD3, 0xD4, 0x15, 0x8A, 0xA1, 0xA9, 0xE3

; SPC900 Custom Camera Property Page
HKCR,CLSID\%CLSID_PropPage_General_SPC900%,,,%PropPage_General%
HKCR,CLSID\%CLSID_PropPage_General_SPC900%\InprocServer32,,,CamExt40V64.ax
HKCR,CLSID\%CLSID_PropPage_General_SPC900%\InprocServer32,ThreadingModel,,Both

; SPC900 Custom Image Property Page
HKCR,CLSID\%CLSID_PropPage_Picture_SPC900%,,,%PropPage_Picture%
HKCR,CLSID\%CLSID_PropPage_Picture_SPC900%\InprocServer32,,,CamExt40V64.ax
HKCR,CLSID\%CLSID_PropPage_Picture_SPC900%\InprocServer32,ThreadingModel,,Both

; SPC900 Custom Audio Property Page
HKCR,CLSID\%CLSID_PropPage_Audio_SPC900%,,,%PropPage_Audio%
HKCR,CLSID\%CLSID_PropPage_Audio_SPC900%\InprocServer32,,,CamExt40V64.ax
HKCR,CLSID\%CLSID_PropPage_Audio_SPC900%\InprocServer32,ThreadingModel,,Both

; Associate the property set with the property page
HKLM,System\CurrentControlSet\Control\MediaSets\%CLSID_AVS900%\PropertyPages\%CLSID_PropPage_General_SPC900%,,,%PropPage_General%
HKLM,System\CurrentControlSet\Control\MediaSets\%CLSID_AVS900%\PropertyPages\%CLSID_PropPage_Picture_SPC900%,,,%PropPage_Picture%
HKLM,System\CurrentControlSet\Control\MediaSets\%CLSID_AVS900%\PropertyPages\%CLSID_PropPage_Audio_SPC900%,,,%PropPage_Audio%

[USBVid.PlugInsV6432]

; ICustomCameraProp 64bit
HKCR,Wow6432Node\CLSID\%CLSID_AVS900%,,,%PlugIn%
HKCR,Wow6432Node\CLSID\%CLSID_AVS900%\InprocServer32,,,CamExt40V32.ax
HKCR,Wow6432Node\CLSID\%CLSID_AVS900%\InprocServer32,ThreadingModel,,Both

; SPC900 Custom Camera Property Page 64bit
HKCR,Wow6432Node\CLSID\%CLSID_PropPage_General_SPC900%,,,%PropPage_General%
HKCR,Wow6432Node\CLSID\%CLSID_PropPage_General_SPC900%\InprocServer32,,,CamExt40V32.ax
HKCR,Wow6432Node\CLSID\%CLSID_PropPage_General_SPC900%\InprocServer32,ThreadingModel,,Both

; SPC900 Custom Image Property Page 64bit
HKCR,Wow6432Node\CLSID\%CLSID_PropPage_Picture_SPC900%,,,%PropPage_Picture%
HKCR,Wow6432Node\CLSID\%CLSID_PropPage_Picture_SPC900%\InprocServer32,,,CamExt40V32.ax
HKCR,Wow6432Node\CLSID\%CLSID_PropPage_Picture_SPC900%\InprocServer32,ThreadingModel,,Both

; SPC900 Custom Audio Property Page 64bit
HKCR,Wow6432Node\CLSID\%CLSID_PropPage_Audio_SPC900%,,,%PropPage_Audio%
HKCR,Wow6432Node\CLSID\%CLSID_PropPage_Audio_SPC900%\InprocServer32,,,CamExt40V32.ax
HKCR,Wow6432Node\CLSID\%CLSID_PropPage_Audio_SPC900%\InprocServer32,ThreadingModel,,Both

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

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

;---------------------------------------------------------------
;                S e r v i c e s  
;---------------------------------------------------------------
[USBVidx86.Services]
AddService=camdrv41, 0x00000002, USBVid.ServiceInstall

[USBVidXp64.Services]
AddService=camdrv41, 0x00000002, USBVid.ServiceInstall

[USBVidVista64.Services]
AddService=camdrv42, 0x00000002, USBVidVista64.ServiceInstall

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

[USBVidVista64.ServiceInstall]
DisplayName=%USBVid.DeviceDesc%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%12%\camdrv42.sys
;---------------------------------------------------------------
;                S t r i n g s
;---------------------------------------------------------------

[Strings]
; non-localizeable
PName="Philips CE CSI"

Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_VIDEO="{6994AD05-93EF-11D0-A3CC-00A0C9223196}"

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

PlugIn="PlugIn_AVS900"
CLSID_AVS900="{63B8CCB6-015F-4B1D-AAD3-D4158AA1A9E3}"
CLSID_PropPage_General_SPC900="{5E048391-5B2B-4155-9E60-86E61E69A0DD}"
CLSID_PropPage_Picture_SPC900="{759B0FA9-1425-4a78-9B2A-4ABAF744D513}"
CLSID_PropPage_Audio_SPC900="{9BC53EA6-6F94-4284-A2F1-0A547BB938F1}"

PropPage_Picture="PropPage_Picture_SPC900_Camera"
PropPage_General="PropPage_General_SPC900_Camera"
PropPage_Audio="PropPage_Audio_SPC900_Camera"

;localizeable
Philips.Mfg="Philips CE CSI"
USBVid.DeviceDesc="Philips SPC 900NC PC Camera"
USBVid.Reader.FriendlyName="Philips SPC 900NC PC Camera"
cdname="Philips SPC900 Installation Disk"
