[Version]
LayoutFile=LAYOUT.INF, layout1.inf, layout2.inf
signature="$CHICAGO$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
CatalogFile=TxTuner.cat

Provider=%YUAN%
DriverVer=08/13/2004, 2.6.1.9

[ControlFlags]
;ExcludeFromSelect=*

[Manufacturer]
%YUAN%=YUAN

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

[SourceDisksFiles]
TxTuner.sys=1

[SourceDisksNames]
1=%DiskName%,,

;---------------------------------------------------------------
; The user can select the appropriate YUAN tuner type
; _OEM_  Add your tuner here, if it's not in the list
;---------------------------------------------------------------

[YUAN]
%TxTunerDesc%=TxTuner.Dev,STREAM\TxTuner	; Analog Tv Tuner.

[TxTuner.Dev]
Include    = ks.inf, kscaptur.inf
Needs      = KS.Registration,KSCAPTUR.Registration
AddReg     = TxTuner.AddReg
CopyFiles  = TxTuner.CopyDrivers
KnownFiles = TxTuner.KnownFiles

[TxTuner.Dev.NT]
Include    = ks.inf, kscaptur.inf
Needs      = KS.Registration,KSCAPTUR.Registration.NT
CopyFiles  = TxTuner.CopyDrivers
AddReg     = TxTuner.AddReg
KnownFiles = TxTuner.KnownFiles

;---------------------------------------------------------------
; Registry entries common to all YUAN tuner types
;---------------------------------------------------------------

[TxTuner.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,TxTuner.sys
HKR,,PageOutWhenUnopened,3,0
HKR,,Address,,0xc0         ; I2C address
HKR,,DefaultStandard,,0x00000001  ; KS_AnalogVideo_NTSC_M
HKR,,"EEPROM Addr",,0xa0
HKR,,TunerType,,FI1236

HKLM,"SOFTWARE\YUAN High-Tech\TUNX00\DRIVERS","Tuner FriendlyName",,%DeviceName%


;---------------------------------------------------------------
; Files to be copied during installation
;---------------------------------------------------------------
[TxTuner.CopyDrivers]
TxTuner.sys 

[TxTuner.KnownFiles]
TxTuner.sys=safe

;---------------------------------------------------------------
; Interface description
;---------------------------------------------------------------
[TxTuner.Dev.Interfaces]
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",TvTuner,

[TxTuner.Dev.NT.Interfaces]
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",TvTuner,


[TvTuner]
AddReg=TvTuner.AddReg

[TvTuner.AddReg]
HKR,,CLSID,,{266EEE40-6C63-11cf-8A03-00AA006ECB65}
HKR,,FriendlyName,,%DeviceName%

;---------------------------------------------------------------
; Installation details
;---------------------------------------------------------------
[TxTuner.Dev.NT.Services]
AddService = TxTuner,0x00000002,TxTuner.ServiceInstall

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

;---------------------------------------------------------------
; Strings
;---------------------------------------------------------------

[Strings]

SERVICE_KERNEL_DRIVER=1
SERVICE_ERROR_NORMAL=1
SERVICE_AUTO_START=2
SERVICE_DEMAND_START=3

YUAN=				"YUAN High-Tech Development Co. Ltd."
captureClassName=	"Sound, video and game controllers"
DiskName=			"FunTV"
TxTunerDesc=		"FunTV TV Tuner"
DeviceName=			"FunTV TV Tuner"
