;===========================================================================
; atidtvex.inf
;
; WinXP Drivers for ATI DTV only DTV Wonder video capture and playback devices
; Copyright (C) 2004 ATI Technologies Inc.
;===========================================================================

[Version]
DriverVer=03/03/2005, 3.0.83.2030
Provider                = %Mfg%
Signature               = "$CHICAGO$"
Class                   = MEDIA
ClassGUID               = {4d36e96c-e325-11ce-bfc1-08002be10318}
CatalogFile             = atidtvxp.cat

;---------------------------------------------------------------------------
[SourceDisksNames]
1                       = %DiskId%,,,

[SourceDisksFiles]
atidvcxx.sys            = 1
atidtuxx.sys            = 1
atiddcxx.sys            = 1
atidtvex.inf            = 1


[DestinationDirs]
DefaultDestDir          = 10,system32\drivers
ATIDVCXX.CopyFiles      = 10,system32\drivers
ATIDTUDD.CopyFiles      = 10,system32\drivers
ATIDDCXX.CopyFiles      = 10,system32\drivers
ATIDXXXX.INFFiles		= 17,inf

[ATIDXXXX.INFFiles]
atidtvex.inf


[ControlFlags]
ExcludeFromSelect       = *

;---------------------------------------------------------------------------
[Manufacturer]
%Mfg%                   = ATI

[ATI]
%ATIDVCXX.DeviceDesc%   = ATIDVCXX, PCI\VEN_14F1&DEV_8800&SUBSYS_A1031002
%ATIDTUDD.DeviceDesc%   = ATIDTUDD, STREAM\ATIDTUDD.#PCI#VEN_14F1&DEV_8800&SUBSYS_A1031002
%ATIDDCXX.DeviceDesc%   = ATIDDCXX, PCI\VEN_14F1&DEV_8802&SUBSYS_A1031002


;===========================================================================
; ANALOG VIDEO CAPTURE
;===========================================================================
;---------------------------------------------------------------------------
; NT Install
[ATIDVCXX.NT]
Include                 = ks.inf, kscaptur.inf
Needs                   = KS.Registration, KSCAPTUR.Registration.NT
AddReg                  = ATIDVCXX.AddReg,ATIDVCXX.PinNameRegistration,Categories,TopologyNodes,Plugins,Filters
CopyFiles               = ATIDVCXX.CopyFiles,ATIDTUDD.CopyFiles

[ATIDVCXX.NT.Interfaces]

[ATIDVCXX.NT.Services]
AddService              = ATIDVCXX,0x00000002,ATIDVCXX.ServiceInstall

;---------------------------------------------------------------------------
; Common Install
[ATIDVCXX.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,atidvcxx.sys
HKR,,OkToHibernate,3,01
HKR,,PageOutWhenUnopened,3,00
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKR,"DriverData","BobMode",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","VolumeLevelNegdB",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","UseExternalVPRES",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","UseI2SAsClock",0x00010001, 0x00, 0x00, 0x00, 0x00
; extra regs
HKR,"DriverData","VideoStandard",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","ColorKillEnable",0x00010001, 0x01,0x00,0x00,0x00
; Country code is USA = 1
HKR,"DriverData","WWAudioCountryCode",0x00010001, 0x01,0x00,0x00,0x00
HKR,"ENUM\Device1",pnpid,,"ATIDTUDD.#PCI#VEN_14F1&DEV_8800&SUBSYS_A1031002"

[ATIDVCXX.PinNameRegistration]
HKLM,%MediaCategories%\%PinAnalogAudioIn.GUID%,Name,,%PinAnalogAudioIn%

;------------------------------
[ATIDVCXX.CopyFiles]
atidvcxx.sys

;------------------------------
[ATIDVCXX.ServiceInstall]
DisplayName             = %ATIDVCXX.DeviceDesc%
ServiceType             = %SERVICE_KERNEL_DRIVER%
StartType               = %SERVICE_DEMAND_START%
ErrorControl            = %SERVICE_ERROR_NORMAL%
ServiceBinary           = %10%\system32\drivers\atidvcxx.sys


;===========================================================================
; DIGITAL UNIFIED TUNER
;===========================================================================
;---------------------------------------------------------------------------
; NT Install
[ATIDTUDD.NT]
Include                 = ks.inf, bda.inf
Needs                   = KS.Registration, BDA.Installation.NT
AddReg                  = ATIDTUDD.AddReg,Categories,TopologyNodes,Plugins,Filters
CopyFiles               = ATIDTUDD.CopyFiles

[ATIDTUDD.NT.Interfaces]
AddInterface            = %KSCATEGORY_BDATUNER%, %KSSTRING_ATIDTUDD_DIGITAL%, ATIDTUDD_DIGITAL

[ATIDTUDD.NT.Services]
AddService              = ATIDTUDD,0x00000002,ATIDTUDD.ServiceInstall

;---------------------------------------------------------------------------
; Common Install
[ATIDTUDD.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,atidtuxx.sys
HKR,,OkToHibernate,3,01
HKR,,PageOutWhenUnopened,3,00
; extra regs
HKR,"DriverData","TunerBrand",0x00010001, 0x04, 0x00, 0x00, 0x00
HKR,"DriverData","TunerI2CAddress",0x00010001, 0xc2, 0x00, 0x00, 0x00
HKR,"DriverData","TunerType",0x00010001, 0x04, 0x00, 0x00, 0x00
HKR,"DriverData","TunerMode",0x0010001, 0x01, 0x00, 0x00, 0x00
HKR,"DriverData","TunerInput",0x00010001, 0x00, 0x00, 0x00, 0x00

;------------------------------
[ATIDTUDD.CopyFiles]
atidtuxx.sys

;------------------------------
[ATIDTUDD_DIGITAL]
AddReg                  = ATIDTUDD_DIGITAL.AddReg

[ATIDTUDD_DIGITAL.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%ATIDTUDD_DIGITAL.FriendlyName%

;------------------------------
[ATIDTUDD.ServiceInstall]
DisplayName             = %ATIDTUDD.DeviceDesc%
ServiceType             = %SERVICE_KERNEL_DRIVER%
StartType               = %SERVICE_DEMAND_START%
ErrorControl            = %SERVICE_ERROR_NORMAL%
ServiceBinary           = %10%\system32\drivers\atidtuxx.sys


;===========================================================================
; DIGITAL VIDEO CAPTURE
;===========================================================================

;---------------------------------------------------------------------------
; PnP Installation
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
; NT Install
[ATIDDCXX.NT]
Include                 = ks.inf, kscaptur.inf, bda.inf
Needs                   = KS.Registration, KSCAPTUR.Registration.NT, BDA.Installation.NT
AddReg                  = ATIDDCXX.AddReg
CopyFiles               = ATIDDCXX.CopyFiles

[ATIDDCXX.NT.Interfaces]
AddInterface            = %KSCATEGORY_BDARECEIVER%, %KSSTRING_ATIDDCXX%, ATIDDCXX.Filter

[ATIDDCXX.NT.Services]
AddService              = ATIDDCXX, 0x00000002, ATIDDCXX.ServiceInstall

;---------------------------------------------------------------------------
; Common Install
[ATIDDCXX.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,atiddcxx.sys

;------------------------------
[ATIDDCXX.CopyFiles]
atiddcxx.sys

;------------------------------
[ATIDDCXX.Filter]
; This is the install section for the sample BDA capture filter.
;
AddReg                  = ATIDDCXX.Filter.AddReg

[ATIDDCXX.Filter.AddReg]
; The sample BDA digital capture driver uses KSProxy for its ring 3 filter class.
;
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%ATIDDCXX.FriendlyName%

;------------------------------
[ATIDDCXX.ServiceInstall]
DisplayName             = %ATIDDCXX.DeviceDesc%
ServiceType             = %SERVICE_KERNEL_DRIVER%
StartType               = %SERVICE_DEMAND_START%
ErrorControl            = %SERVICE_ERROR_NORMAL%
ServiceBinary           = %10%\system32\drivers\atiddcxx.sys


;===========================================================================
; STRINGS
;===========================================================================

[Strings]
;---------------------------------------------------------------------------
; Common
Mfg                         = "ATI Technologies"
DiskId                      = "ATI DTV Wonder Driver Installation Disk"

; Specify the GUID for the Ksproxy plugin..
Proxy.CLSID                 = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"

; Others
RunOnce                     = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"

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

;---------------------------------------------------------------------------
; Analog Video Capture
ATIDVCXX.DeviceDesc         = "ATI DTV Wonder Digital AV Capture Device"

KSCATEGORY_CAPTURE          = "{65e8773d-8f56-11d0-a3b9-00a0c9223196}"
ATIDVCXX_VIDEOCAP.FriendlyName = "ATI DTV Wonder Digital AV Capture"

;---------------------------------------------------------------------------
; Digital & Analog Unified Tuner
ATIDTUDD.DeviceDesc         = "ATI DTV Wonder Digital Tuner Device"

KSCATEGORY_BDATUNER         = "{71985F48-1CA1-11d3-9CC8-00C04F7971E0}"
KSSTRING_ATIDTUDD_DIGITAL   = "{CEADFFE0-F344-41b6-B58C-C165FCEB22C7}"
ATIDTUDD_DIGITAL.DeviceId   = "{828B00F0-9A04-4692-8573-535B05DFF3F4}"
ATIDTUDD_DIGITAL.FriendlyName= "ATI DTV Wonder Digital BDA Tuner"

;---------------------------------------------------------------------------
; Digital Video Capture
ATIDDCXX.DeviceDesc         = "ATI DTV Wonder Digital BDA Capture Device"

KSCATEGORY_BDARECEIVER      = "{FD0A5AF4-B41D-11d2-9C95-00C04F7971E0}"
KSSTRING_ATIDDCXX           = "{074649FE-2DD8-4c12-8A23-BD828BADFFFA}"
ATIDDCXX.DeviceId           = "{AA7F4F0A-A95B-42d1-B9DD-EE3AC9AB39A8}"
ATIDDCXX.FriendlyName       = "ATI DTV Wonder Digital BDA Capture"

MediaCategories             = "SYSTEM\CurrentControlSet\Control\MediaCategories"
PinAnalogAudioIn            = "Analog Audio In"
PinAnalogAudioIn.GUID       = "{04394D28-52A7-4c46-AED0-65D62CC64DA6}"

                                                                                                                                  