;------------------------------------------------------------------------
;
;   Copyright and Disclaimer:
;
;       ---------------------------------------------------------------
;       This software is provided "as is" without warranty of any kind,
;       either expressed or implied, including but not limited to the
;       implied warranties of merchantability and/or fitness for a
;       particular purpose.
;
;       Prof(c) 2008 
;       All Rights Reserved.
;       ---------------------------------------------------------------
;
;   Abstract:
;
;      
;
;------------------------------------------------------------------------

[Version]
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider="Prof"
DriverVer= 03/13/2009, 2.0.1.5
CatalogFile.NTamd64=Prof1100.cat

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

[Manufacturer]
"Prof"=Prof,NTamd64

[SourceDisksNames]
1="Prof DVB-S USB 1100 SETUP DRIVER",,,""

[SourceDisksFiles]
Prof1100.sys=1

[ControlFlags]
ExcludeFromSelect=*
ExcludeFromSelect.NT=*

; =================== Generic ==================================

[Prof.NTamd64]
%ProfDVBS.DeviceDesc%=ProfDVBS.Device,USB\VID_3011&PID_B011
%ProfDVBS.DeviceDesc%=ProfDVBS.Device,USB\VID_3011&PID_B012


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


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

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

[ProfDVBS.AddService]
DisplayName    = %ProfDVBS.FriendlyName%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\Prof1100.sys
LoadOrderGroup = Base

[ProfDVBS.CopyDrivers]
Prof1100.sys

[ProfDVBS.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,Prof1100.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"
; for mac address
HKLM,SOFTWARE\TBS\MPEVirtual\DriverData,"dwMAC_LOW", 0x00010001,       0xFF,0xFF,0xFF,0xFF
HKLM,SOFTWARE\TBS\MPEVirtual\DriverData,"dwMAC_HIGH", 0x00010001,       0xFF,0xFF,0xFF,0xFF

[ProfDVBS.Device.Interfaces]
AddInterface=%GUID.TunerCatID%,%Tuner_Filter%,ProfDVBSTuner.Interfaces,
AddInterface=%GUID.BdaReceiverCtrl%,%Capture_Filter%,ProfDVBSCapture.Interfaces,

[ProfDVBS.Device.NT.Interfaces]
AddInterface=%GUID.TunerCatID%,%Tuner_Filter%,ProfDVBSTuner.Interfaces,
AddInterface=%GUID.BdaReceiverCtrl%,%Capture_Filter%,ProfDVBSCapture.Interfaces,

[ProfDVBSTuner.Interfaces]
AddReg=ProfDVBSTuner.Interface.AddReg

[ProfDVBSTuner.Interface.AddReg]
HKR,,CLSID,,%ProfDVBS.CLSID%
HKR,,FriendlyName,,%ProfDVBSTuner.FriendlyName%

[ProfDVBSCapture.Interfaces]
AddReg=ProfDVBSCapture.Interface.AddReg

[ProfDVBSCapture.Interface.AddReg]
HKR,,CLSID,,%ProfDVBS.CLSID%
HKR,,FriendlyName,,%ProfDVBSCapture.FriendlyName%

[Strings]
Msft                = "Prof"
MfgName             = "Prof"
ProfDVBS.CLSID      ="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"  ; KsProxy.ax's ID, REQUIRED
ProfDVBS.DeviceDesc = "Prof 1100 TV Tuner"
ProfDVBSTuner.FriendlyName = "Prof 1100 DVBS Tuner"
ProfDVBSCapture.FriendlyName = "Prof 1100 DVBS Capture"

Tuner_Filter         = "{B45B50FF-2D09-4bf2-A87C-EE4A7EF00857}"
Capture_Filter       = "{BAE951BD-1CCC-4e16-88B6-B9E54F4E3FB3}"
;
; The following items should be moved to KS_registration - TCP
;
Plugin_BdaDevice        ="BDA Device Control Plug-in"
GUID.TunerCatID         ="{71985F48-1CA1-11d3-9CC8-00C04F7971E0}"
AMcatID                 ="{DA4E3DA0-D07D-11d0-BD50-00A0C911CE86}"
BDAReceivers            ="BDA Streaming Receiver Components"
MediaCategories         ="SYSTEM\CurrentControlSet\Control\MediaCategories"
Pin.BdaTransport        ="BDA Transport Stream"
GUID.BdaTransport       ="{78216A81-CFA8-493e-9711-36A61C08BD9D}"
GUID.BdaReceiverCtrl    ="{FD0A5AF4-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

; Characteristic flags
NCF_VIRTUAL                 = 0x0001
NCF_WRAPPER                 = 0x0002
NCF_PHYSICAL                = 0x0004
NCF_HIDDEN                  = 0x0008
NCF_NO_SERVICE              = 0x0010
NCF_NOT_USER_REMOVABLE      = 0x0020
NCF_HAS_UI                  = 0x0080
NCF_MODEM                   = 0x0100

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

; Win9x Compatible Types
REG_BINARY                  = 17
REG_SZ                      = 0

; Service install flags
SPSVCINST_TAGTOFRONT        = 0x1
SPSVCINST_ASSOCSERVICE      = 0x2
