; Copyright (C) 2006-2007 Afa Technologies, Inc.

[Version]
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%MfgName%
DriverVer=07/31/2008,8.7.29.1

[DestinationDirs]
AF9035BDA.CopyDrivers=10,System32\Drivers

[SourceDisksNames]
1=%AF9035BDA.Disc%,,,

[SourceDisksFiles]
AF9035BDA.sys=1

[Manufacturer]
%MfgName%=AfaTech,NTamd64,NTIA64

[ControlFlags]
ExcludeFromSelect=*
ExcludeFromSelect.NT=*

[AfaTech.NTamd64]
%AF9035BDA.DeviceDesc% = AF9035BDA.Device,USB\VID_15A4&PID_1000
%AF9035BDA.DeviceDesc% = AF9035BDA.Device,USB\VID_15A4&PID_1001&MI_00

[AfaTech.NTIA64]
%AF9035BDA.DeviceDesc% = AF9035BDA.Device,USB\VID_15A4&PID_1000
%AF9035BDA.DeviceDesc% = AF9035BDA.Device,USB\VID_15A4&PID_1001&MI_00

[AfaTech]
%AF9035BDA.DeviceDesc% = AF9035BDA.Device,USB\VID_15A4&PID_1000
%AF9035BDA.DeviceDesc% = AF9035BDA.Device,USB\VID_15A4&PID_1001&MI_00

[AF9035BDA.Device.NT]
Include    = ks.inf, kscaptur.inf, bda.inf
Needs      = KS.Registration,KSCAPTUR.Registration.NT,BDA.Installation.NT
AddReg     = AF9035BDA.AddReg
CopyFiles  = AF9035BDA.CopyDrivers


[AF9035BDA.Device.NT.Services]
Addservice = AF9035BDA, 0x00000002, AF9035BDA.AddService

[AF9035BDA.AddService]
DisplayName    = %AF9035Devcie.FriendlyName%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %10%\System32\Drivers\AF9035BDA.sys
LoadOrderGroup = Base

[AF9035BDA.CopyDrivers]
AF9035BDA.sys

[AF9035BDA.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,AF9035BDA.sys
HKR,,PageOutWhenUnopened,3,01
HKLM,System\CurrentControlSet\Control\MediaCategories\{1A9333B6-3704-4b18-A6DD-E1979FC56970}
HKLM,System\CurrentControlSet\Control\MediaCategories\{1A9333B6-3704-4b18-A6DD-E1979FC56970},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{1A9333B6-3704-4b18-A6DD-E1979FC56970},Name,,"Tuner Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{F65394A2-A018-4307-8D12-35AA494A406F}
HKLM,System\CurrentControlSet\Control\MediaCategories\{F65394A2-A018-4307-8D12-35AA494A406F},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{F65394A2-A018-4307-8D12-35AA494A406F},Name,,"Demodulator Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{870E4D6F-77E7-4c40-ADE3-BEF8708A9D52}
HKLM,System\CurrentControlSet\Control\MediaCategories\{870E4D6F-77E7-4c40-ADE3-BEF8708A9D52},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{870E4D6F-77E7-4c40-ADE3-BEF8708A9D52},Name,,"Antenna In Pin"

[AF9035BDA.Device.NT.Interfaces]
AddInterface=%GUID.TunerCatID%,%KSNAME_Filter%,AF9035BDA.Interfaces,
AddInterface=%GUID.BdaReceiverCtrl%,%KSNAME_Filter%,AF9035BDA.Interfaces,
AddInterface=%GUID.TunerCatID%,%KSNAME_Filter2%,AF9035BDA2.Interfaces,
AddInterface=%GUID.BdaReceiverCtrl%,%KSNAME_Filter2%,AF9035BDA2.Interfaces,

[AF9035BDA.Interfaces]
AddReg=AF9035BDA.Interface.AddReg

[AF9035BDA2.Interfaces]
AddReg=AF9035BDA2.Interface.AddReg

[AF9035BDA.Interface.AddReg]
HKR,,CLSID,,%AF9035BDA.CLSID%
HKR,,FriendlyName,,%AF9035BDA.FriendlyName%

[AF9035BDA2.Interface.AddReg]
HKR,,CLSID,,%AF9035BDA.CLSID%
HKR,,FriendlyName,,%AF9035BDA2.FriendlyName%

[Strings]
;----------------
;Localizeable
;----------------
MfgName                   = "AfaTech"
AF9035BDA.Disc            = "AF9035 BDA Installation Disc"
AF9035BDA.DeviceDesc      = "AF9035 BDA Device"
AF9035Devcie.FriendlyName = "AF9035 BDA Devices"
AF9035BDA.FriendlyName    = "AF9015 BDA Filter"
AF9035BDA2.FriendlyName   = "AF9015 BDA Filter"
MediaCategories           = "SYSTEM\CurrentControlSet\Control\MediaCategories"

;----------------
;Non-Localizeable
;----------------
;Specify the GUID for the digital tuner filter
;The dirver may provide two tuner filter (Depend on device)
KSNAME_Filter           = "{9B365890-165F-11D0-A195-0020AFD156E4}"
KSNAME_Filter2          = "{9B365890-165F-11D0-A195-0020AFD156E5}"

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

;Specify the GUID for the BDA source filters category in GraphEdit
GUID.TunerCatID         = "{71985F48-1CA1-11d3-9CC8-00C04F7971E0}"
GUID.BdaReceiverCtrl    = "{FD0A5AF3-B41D-11d2-9C95-00C04F7971E0}"

; ServiceType values
SERVICE_KERNEL_DRIVER       = 0x00000001
SERVICE_FILE_SYSTEM_DRIVER  = 0x00000002
SERVICE_ADAPTER             = 0x00000004
SERVICE_RECOGNIZER_DRIVER   = 0x00000008
SERVICE_WIN32_OWN_PROCESS   = 0x00000010
SERVICE_WIN32_SHARE_PROCESS = 0x00000020
SERVICE_INTERACTIVE_PROCESS = 0x00000100
SERVICE_INTERACTIVE_SHARE_PROCESS = 0x00000120

; StartType values
SERVICE_BOOT_START          = 0x00000000
SERVICE_SYSTEM_START        = 0x00000001
SERVICE_AUTO_START          = 0x00000002
SERVICE_DEMAND_START        = 0x00000003
SERVICE_DISABLED            = 0x00000004

; ErrorControl values
SERVICE_ERROR_IGNORE        = 0x00000000
SERVICE_ERROR_NORMAL        = 0x00000001
SERVICE_ERROR_SEVERE        = 0x00000002
SERVICE_ERROR_CRITICAL      = 0x00000003

; Registry types
REG_MULTI_SZ                = 0x10000
REG_EXPAND_SZ               = 0x20000
REG_DWORD                   = 0x10001
