; SONYTVC.INF
; Copyright (c)Sony

[Version]
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
CatalogFile=SonyTvc.cat
Signature=$CHICAGO$
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%Sony%
DriverVer=01/11/2005,2.0.02.13111

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
%Sony%=Sony

[DestinationDirs]
SONYTVC.CopyDrivers=10,system32\drivers
DefaultDestDir=11

[SourceDisksNames]
1=%Disk1%,disk1,

[SourceDisksFiles]
SONYTVC.sys = 1
SNYTVC6.DAT = 1
SNYTVC61.DAT = 1

[Sony]
%SONYTVC.DeviceDesc%=SONYTVC.Device, USB\VID_054C&PID_01AA
%SONYTVC.DeviceDesc%=SONYTVC.Device, USB\VID_054C&PID_01AB
%SONYTVC.DeviceDesc%=SONYTVC.Device, USB\VID_054C&PID_020E

[SONYTVC.Device]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration, KSCAPTUR.Registration
AddReg=     SONYTVC.AddReg, SONYTVC.PinNames 
CopyFiles=  SONYTVC.CopyDrivers, SONYTVC.CopyCODEC
UpdateInis= SONYTVC.UpdateIni

[SONYTVC.Device.NT]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration, KSCAPTUR.Registration.NT
AddReg=     SONYTVC.AddReg, SONYTVC.PinNames 
CopyFiles=  SONYTVC.CopyDrivers, SONYTVC.CopyCODEC
UpdateInis= SONYTVC.UpdateIni

[SONYTVC.Device.NT.HW]
AddReg = SONYTVC.Device.HW.AddReg

[SONYTVC.Device.HW.AddReg]

[SONYTVC.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,SONYTVC.sys
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKLM,%MMREG%,%SONYTVC.Capture%,,""

[SONYTVC.UpdateIni]
; support for UYVY
system.ini, drivers32,,"VIDC.UYVY=msyuv.dll"
; support for YUY2
system.ini, drivers32,,"VIDC.YUY2=msyuv.dll"

[SONYTVC.PinNames]
HKLM,System\CurrentControlSet\Control\MediaCategories\{E164BC62-B7CD-451D-84F3-EC6C0FD03F04},Name,,%Pin.MPEGOutput%
HKLM,System\CurrentControlSet\Control\MediaCategories\{E164BC69-5593-4688-A4FD-35A66FF98FD8},Name,,%Pin.StreamInput%
HKLM,System\CurrentControlSet\Control\MediaCategories\{0482dee1-7817-11cf-8a03-00aa006ecb65},Name,,%Pin.AnalogAudioInput%
HKLM,System\CurrentControlSet\Control\MediaCategories\{85B314D7-C35F-4d3e-B7AA-6130AD12D7FF},Name,,%Pin.AudioPreview%

[SONYTVC.CopyDrivers]
SONYTVC.sys
SNYTVC6.DAT
SNYTVC61.DAT

[SONYTVC.CopyCODEC]
msyuv.dll

[SONYTVC.Device.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",SONYTVC.VideoCapture,
AddInterface={6994AD05-93EF-11D0-A3CC-00A0C9223196},"GLOBAL",SONYTVC.VideoCapture,
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",SONYTVC.VideoCrossbar
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",SONYTVC.TVAudio,
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",SONYTVC.TVTuner,

[SONYTVC.Device.NT.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",SONYTVC.VideoCapture,
AddInterface={6994AD05-93EF-11D0-A3CC-00A0C9223196},"GLOBAL",SONYTVC.VideoCapture,
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",SONYTVC.VideoCrossbar
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",SONYTVC.TVAudio,
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",SONYTVC.TVTuner,

[SONYTVC.VideoCapture]
AddReg=SONYTVC.VideoCapture.AddReg

[SONYTVC.AudioCapture]
AddReg=SONYTVC.AudioCapture.AddReg

[SONYTVC.VideoCrossbar]
AddReg=SONYTVC.VideoCrossbar.Addreg

[SONYTVC.TVAudio]
AddReg=SONYTVC.TVAudio.Addreg

[SONYTVC.TVTuner]
AddReg=SONYTVC.TVTuner.Addreg

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

[SONYTVC.VideoCrossbar.Addreg]
HKR,,CLSID,,{71F96460-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%SONYTVC.Crossbar%

[SONYTVC.TVAudio.Addreg]
HKR,,CLSID,,{71F96462-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%SONYTVC.TVAudio%

[SONYTVC.TVTuner.Addreg]
HKR,,CLSID,,{266EEE40-6C63-11cf-8A03-00AA006ECB65}
HKR,,FriendlyName,,%SONYTVC.TVTuner%

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

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

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

[Strings]

;----------------
; Non-Localizable
;----------------
Pin.MPEGOutput = "MPEG Out"
Pin.StreamInput= "Stream In"
Pin.AnalogAudioInput= "Analog Audio In"
Pin.AudioPreview="Audio Preview"

SERVICE_KERNEL_DRIVER=1
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1


;----------------
; Localizable
;----------------
Disk1 =              "Sony MPEG RR-Engine Installation DISK 1"
Sony=				 "Sony Corporation"
SONYTVC.DeviceDesc=   "Sony MPEG RR-Engine"
SONYTVC.Capture=      "Sony MPEG RR-Engine"
SONYTVC.Crossbar=     "Sony MPEG RR-Engine Crossbar"
SONYTVC.TVAudio=      "Sony MPEG RR-Engine TVAudio"
SONYTVC.TVTuner=      "Sony MPEG RR-Engine TVTuner"
MMREG =				  "SOFTWARE\Microsoft\MM20\RecordSettings\Ignore Device"