;////////////////////////////////////////////////////////////////////////////////
;// VMLive.inf
;//
;// Compro VideoMate Live Windows 98/ME/2000/XP INF file
;// Copyright 2002-2003 Compro Tech.  All Rights Reserved.
;//
;// Modification History:
;// Date      By            Description
;// --------  ------------  --------------------------------------------------
;// 10/19/02  Alan Wang     Created
;////////////////////////////////////////////////////////////////////////////////

[Version]
Signature="$Windows NT$"
Class=MEDIA
ClassGuid={4d36e96c-e325-11ce-bfc1-08002be10318}
provider=%ProviderName%
CatalogFile=VMLive.cat
DriverVer=01/27/2004, 3.0.0.8

[Manufacturer]
%ProviderName%=Mfg0

[Mfg0]
%USB\VID_185B&PID_0082.DeviceDesc%=VMLive.Dev, USB\VID_185B&PID_0082

[PreCopySection]
HKR,,NoSetupUI,,1

[DestinationDirs]
VMLive9x.Files.Ext = 10,System32\Drivers
VMLive.Files.Ext = 10,System32\Drivers
VMLive.Plugin = 10,System32\Drivers
VMLive.Files.Inf = 10,INF

[VMLive.Dev]
CopyFiles = VMLive9x.Files.Ext, VMLive.Files.Inf, VMLive.Plugin
AddReg = VMLive9x.AddReg, VMLive.Common.AddReg

[VMLive.Dev.NT]
CopyFiles = VMLive.Files.Ext, VMLive.Files.Inf, VMLive.Plugin
AddReg = VMLive.AddReg,VMLive.Common.AddReg,VMLive2000.AddReg
RegisterDlls = VMLive.Register

[VMLive.Dev.NT.Services]
Addservice = VMLive, 0x00000002,VMLive.AddService

[VMLive.AddService]
DisplayName    = %VMLive.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 2                  ; SERVICE_AUTO_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\VMLiveXP.sys
LoadOrderGroup = Base

[VMLive.Common.AddReg]
HKCU,Software\Compro\VideoMate Live\DSFilters\USB Source,"InstallDirectory",,"%10%\System32\Drivers\"
HKCU,Software\Compro\VideoMate Live\DSFilters\USB Source,"AudioFrequency",0x00010001,0x00000000
HKCU,Software\Compro\VideoMate Live\DSFilters\USB Source,"SuddenHalt",0x00010001,0x00000000
HKCU,Software\Compro\VideoMate Live\DSFilters\USB Source,"VideoFormat",0x00010001,0x00000001
HKCU,Software\Compro\VideoMate Live\DSFilters\USB Source,"Channel",0x00010001,0x00000008
HKCU,Software\Compro\VideoMate Live\DSFilters\USB Source,"CountryCode",0x00010001,0x00000001
HKCU,Software\Compro\VideoMate Live\DSFilters\USB Source,"PALType",0x00010001,0x00000000
HKCU,Software\Compro\VideoMate Live\DSFilters\USB Source,"CableAntenna",0x00010001,0x00000000
HKCU,Software\Compro\VideoMate Live\DSFilters\USB Source,"VideoSource",0x00010001,0x00000002
HKCU,Software\Compro\VideoMate Live\DSFilters\USB Source,"VideoResolution",0x00010001,0x00000000
HKCU,Software\Compro\VideoMate Live\DSFilters\USB Source,"VideoBitrate",0x00010001,0x003D0900
HKCU,Software\Compro\VideoMate Live\DSFilters\USB Source,"MuxFormat",0x00010001,0x00000002

[VMLive9x.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,VMLive9x.sys
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"VMLiveSnk",,"%11%\Regsvr32 /s %10%\System32\Drivers\VMLiveSn.ax"
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"VMLiveSplt",,"%11%\Regsvr32 /s %10%\System32\Drivers\VMLiveSp.ax"
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"VMLiveSrc",,"%11%\Regsvr32 /s %10%\System32\Drivers\VMLiveSr.ax"

[VMLive.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,VMLiveXP.sys

[VMLive2000.AddReg]
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"VMLiveSnk",,"%11%\Regsvr32 /s %10%\System32\Drivers\VMLiveSn.ax"
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"VMLiveSplt",,"%11%\Regsvr32 /s %10%\System32\Drivers\VMLiveSp.ax"
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"VMLiveSrc",,"%11%\Regsvr32 /s %10%\System32\Drivers\VMLiveSr.ax"

[VMLive.Register]
10,System32\Drivers,VMLiveSn.ax,1 ;FLG_REGSVR_DLLREGISTER
10,System32\Drivers,VMLiveSp.ax,1 ;FLG_REGSVR_DLLREGISTER
10,System32\Drivers,VMLiveSr.ax,1 ;FLG_REGSVR_DLLREGISTER

[VMLive9x.Files.Ext]
VMLive9x.sys

[VMLive.Files.Ext]
VMLiveXP.sys

[VMLive.Plugin]
msvcr70.dll
VMLiveSn.ax
VMLiveSp.ax
VMLiveSr.ax

[VMLive.Files.Inf]
VMLive.Inf


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

[Strings]
ProviderName="Compro Tech."
USB\VID_185B&PID_0082.DeviceDesc="VideoMate Live"
