Home    MontiVision DirectShow SDK Documentation Prev Next
MontiVision Development Kit
Product Release Notes
What's new?
Installation
Overview
Components
The MontiVision Workbench
How to use the Workbench
How to insert an Filter
How to make a connction between two filter
How to change filter properties
How to get mediatypes of a pin or connection
How to delete a connection
How to delete a filter
How to find a filter
How to select a filter, pin or connection
How to make a video visible
How to preview a video stream
Workbench Menus and Commands
File menu commands
Edit menu commands
View menu commands
Graph menu commands
Extras menu commands
Help menu commands
Context menu commands
Status Bar
Toolbar
Sorting Filters
MontiVision DirectShow Filter
Common filter functions
MV Absolute Difference
MV Advanced Optical Flow
MV Affine Transformation
MV Alignment
MV Audio Test Source
MV Batch Image File Source
MV Background Subtraction
MV Bayer To Gray
MV Bayer To RGB
MV Bitmap Overlay
MV Blob Counter
MV Blob Finder
MV BlockRecording
MV Buffer Access
MV Camera Calibration
MV Camera Syncronisation
MV Camera Undistortion
MV Color Filter
MV Color Channel Mixer
MV Color Space Converter
MV Color To Gray
MV Color Twist
MV Constant Framerate
MV Convolution
MV Cooccurrence
MV Crop
MV Deinterlace
MV DeInterlace Temporal
MV Delay
MV Demo Source
MV Demultiplexer
MV DPS Renderer
MV DPS Source
MV Dyadic Arithmetic
MV Dyadic Logic
MV Fast Color Filter
MV Frame Access
MV Gauge
MV GDI Overlay
MV Gray To Color
MV Image File Source
MV Image Grabber
MV Image File Renderer
MV Integral
MV Inverse
MV I/O Bool Source
MV I/O Comparator
MV I/O Logic
MV I/O Not
MV I/O Renderer
MV I/O RS232
MV I/O RS232 Trigger Source
MV I/O Switch Source
MV I/O Textfile Renderer
MV I/O Textfile Source
MV I/O To String
MV IP Camera Source
MV Look Up Table
MV Mean
MV Mean Profile
MV Merge Frames
MV Mirror
MV MJPEG Compressor
MV MJPEG Decompressor
MV Mondic Arithmetic
MV Mondic Logic
MV Morphology
MV Motion Detection
MV Motion Direction
MV Multi File Writer
MV Network Renderer
MV Network Source
MV Nonlinear Filter
MV Object Tracker
MV Optical Flow
MV Playlist Source
MV Polar
MV Presence Detection
MV Profile
MV Recording
MV ReInterlace
MV Resize
MV Resized Rotation
MV Rotate90
MV Rotation
MV Segmentation
MV Select Mediatype
MV Separate Fields
MV Smooth Sequence
MV Splitter
MV Text Overlay
MV Ticker Overlay
MV Topography
MV Trigger Source
MV Video File Overlay
MV Video Overlay
MV Video Scaler
MV Watchdog
MV Zoom
Filter Event Mechanism
MontiVision DirectShow Filter SDK
Create a new Filter SDK DLL
Implement your custom Algorithm
Register the Filter SDK DLL
Use the new DirectShow Filter
Debugging a DirectShow Filter
Configure a Filter SDK DirectShow Filter
MontiVision Smart ActiveX Control
MV Smart Control Functions
MV Smart Control Interfaces
IMVSmartControl
IMVSCFilterGraph
IMVSCFilterGraph2
IMVSCVideoWindow
IMVSCVideoWindow2
IMVSCFullScreen
IMVSCSetFile
IMVSCSetSourceFilter
IMVSCSelectInput
IMVSCSetupVideoStream
IMVSCSetupVideoStream2
IMVSCClock
IMVSCFilterProperties
IMVSCLog
IMVSCCameraControl
IMVSCFilterEvents
IMVSCMediaSeeking
IMVSCMediaSeeking2
IMVSCQualityProperties
IMVSCFilterData
IMVSCCommonProperties
IMVSCExtDeviceControl
IMVSCVideoControl
IMVSCAnalogVideoFormat
IMVSCTVTuner
IMVSCTVAudio
Application Development with the MV Smart Control
Visual Basic 6.0
Visual Basic .NET
Visual C++ 6.0
Visual C++ .NET
Borland Delphi
MV Smart Control Samples
AviPlay Sample
CropVideo Sample
DirFinder Sample
FindObject Sample
FullScreen Sample
ImageStream Sample
IP Camera Sample
LiveDraw Sample
LoadFromString Sample
LumeneraCameraProperties Sample
MotionDetection Sample
PutBitmap Sample
SendReceiveRS232 Sample
MV Smart Control How To's
How to handle Input Events (Mouse, Keyboard) of the Video Window
How to Select and Configure a Video Input Device
How to handle Multiple Video Outputs
How to use Fullscreen Functionality
How to access the Results of a MontiVsion DirectShow Filter
MontiVision Utility ActiveX Controls
Video Source Combo Box
Video Format Combo Box
Video Size Combo Box
Input Selection Combo Box
Frame Rate Combo Box
Seeking Slider
Filter Property Page Display
Trigger Button
MontiVision I/O Controls
MVIODisplay
MVIOMonitor
MVIOLed
MVIOOutput
VMR Wrapper ActiveX Control
MV VMR Wrapper Interfaces
IMVVMRWrapper
IMVVMRFilterConfig
IMVVMRMixerControl
IMVVMRMixerBitmap
MV VMR Wrapper Sample Applications
VMR Control Sample
VMR Bitmap Overlay Sample
Extended Video Source ActiveX Control
MV Extended Video Source Control Interfaces
IMVExtendedVideoSource Interface
IMVLumeneraCustomConfig Interface
_IMVExtendedVideoSourceEvents Interface
MontiVision Tools
Getting Started
Create a MontiVision Project
Create a MontiVision Project using the MontiVision Workbench
Create new DirectShow Filters using the MontiVision Filter SDK
Use the new DirectShow Filter in your MontiVision Project
Integrate the MontiVision Project into your Application
Distribute your Application
Distributing your Applications
Application Development Examples
Apply standard Image Processing Operators to a Video Stream
Process a Sequence of Still Images, Do Batch Processing
Make your Existing Algorithms DirectShow compatible
Creating your own Image/Video Processing DirectShow Filters
Access the Image Data of a Video Stream directly from within a Windows Application
Capture Still Images from a running Video Stream
Convert a Video Stream to a Sequence of Still Images or vice versa
Sample Applications using the Smart Control
Camera Calibration
Additional HowTo's
How to Set Up Visual C++ for the MontiVision Development Kit
How to Set Up Borland Delphi for the MontiVision Development Kit
How to Set Up Borland Delphi 2005 for the MontiVision Development Kit
Interface Reference
_IMVFilterPropertyControlEvents
_IMVSeekingSliderEvents
_IMVSmartControlEvents
_ISelectInputComboBoxEvents
_IVideoFormatComboBoxEvents
_IVideoSizeComboBoxEvents
_IVideoSourceComboBoxEvents
IMVAbout
IMVAdvancedOpticalFlow
IMVAdvancedOpticalFlow2
IMVAffineTransformation
IMVAlignment
IMVAudioTestSource
IMVAutoCalcSetup
IMVBackgroundSubtraction
IMVBatchFileSource2
IMVBatchFileSource3
IMVBatchFileSource
IMVBinary
IMVBitmapOverlay
IMVBitmapOverlay2
IMVBlobCounter
IMVBlobCounter2
IMVBlobCounter3
IMVBlobCounter4
IMVBlobFinder
IMVBlobFinder2
IMVBlobFinder3
IMVBlobPostProcessing
IMVBlobPreProcessing
IMVBlockRecording
IMVBufferAccess
IMVBufferAccessCallbackC
IMVBufferAccessCallbackVB
IMVCameraCalibration
IMVCameraSync
IMVCameraUndistortion
IMVColor
IMVColorChannelMixer
IMVColorTwist
IMVConstantFramerate
IMVConvolution
IMVCooccurrence
IMVCrop
IMVCrypt
IMVDeinterlace
IMVDeInterlaceTemporal
IMVDelay
IMVDemoSource
IMVDemoSource2
IMVDPSRenderer
IMVDPSSource
IMVDyArith
IMVDyLogic
IMVEnumAudioEncoder
IMVEnumVideoEncoder
IMVFastColor
IMVFilterData
IMVFilterEvents
IMVFilterInfo
IMVFilterPropertyControl
IMVFilterSDK
IMVFrameAccess
IMVFrameAccessCallbackC
IMVFrameAccessCallbackVB
IMVGauge
IMVGaugeCalculations
IMVGDIOverlay
IMVGray
IMVGrayToColor
IMVGrid
IMVHistogram
IMVHistogram2
IMVHistogram3
IMVImageCapture
IMVImageCapture2
IMVImageCapture3
IMVImageFileSource
IMVImageFileSource2
IMVImageFileSource3
IMVImageInfo
IMVIntegral
IMVIOBoolSource
IMVIOBoolSource2
IMVIOComparator
IMVIOIntRenderer
IMVIOIntSource
IMVIOIntSource2
IMVIOLogic
IMVIONot
IMVIORenderer
IMVIORS232
IMVIORS232DataASCII
IMVIORS232DataHex.htm
IMVIORS232RxTxConnection
IMVIORS232TriggerSource
IMVIOSwitchSource
IMVIOTextfileRenderer
IMVIOTextfileSource
IMVIOToString
IMVIPCameraSource
IMVIPCameraSource2
IMVLinFilter
IMVLookUpTable
IMVMask
IMVMean
IMVMeanProfile
IMVMerger
IMVMirror
IMVMonArith
IMVMonLogic
IMVMorphology
IMVMotionDetection
IMVMotionDetection2
IMVMotionDirection
IMVMultiFileWriter
IMVNetworkReceiveInfo
IMVNetworkRenderer
IMVNetworkRenderer2
IMVNetworkRenderer3
IMVNetworkSendInfo
IMVNetworkSource
IMVNetworkSource2
IMVNonLinFilter
IMVObjectTracker
IMVOpticalFlow
IMVOpticalFlow2
IMVPlaylist
IMVPlaylistSource
IMVPolar
IMVPresenceDetection
IMVProfile
IMVRecording
IMVRegionOfInterest
IMVReinterlace
IMVResize
IMVResizedRotation
IMVRotate90
IMVRotation
IMVSCAnalogVideoFormat
IMVSCCameraControl
IMVSCCommonProperties
IMVSCClock
IMVSCExtDeviceControl
IMVSCFilterData
IMVSCFilterEvents
IMVSCFilterGraph
IMVSCFilterGraph2
IMVSCFilterProperties
IMVSCFullScreen
IMVSCLog
IMVSCMediaSeeking
IMVSCMediaSeeking2
IMVSCQualityProperties
IMVSCSelectInput
IMVSCSetFile
IMVSCSetSourceFilter
IMVSCTVTuner
IMVSCTVAudio
IMVSCVideoControl
IMVSCSetupVideoStream
IMVSCSetupVideoStream2
IMVSCVideoWindow
IMVSCVideoWindow2
IMVSeekingSlider
IMVSetImageFormat
IMVSmartControl
IMVSeparateFields
IMVSmoothSequence
IMVTextOverlay
IMVTextOverlay2
IMVTextOverlay3
IMVTickerOverlay
IMVTickerOverlay2
IMVTopography
IMVTrigger
IMVTriggerFilter
IMVVideoFileOverlay
IMVVideoScaler
IMVVMRFilterConfig
IMVVMRMixerBitmap
IMVVMRMixerControl
IMVVMRWrapper
IMVWatchdog
IMVZoom
IMVZoomConfig
ISelectInputComboBox
IVideoFormatComboBox
IVideoSizeComboBox
IVideoSourceComboBox

IMVSCTVTuner

The IMVSCTVTuner interface contains methods and properties to configure a TV tuner device.

Methods:

ChannelMinMax The ChannelMinMax method retrieves the highest and lowest channels available.
GetAudioFrequency The GetAudioFrequency method retrieves the currently tuned audio frequency.
GetAvailableModes The GetAvailableModes method retrieves the tuner's supported modes.
GetAvailableTunerTVFormats The GetAvailableTunerTVFormats method retrieves all the analog video TV standards that the tuner supports.
GetChannel The GetChannel method retrieves the channel to which the tuner is set.
GetConnectInput The GetConnectInput method retrieves the hardware tuner input connection.
GetCountryCode The GetCountryCode method retrieves the country/region code that establishes the current channel-to-frequency mapping.
GetInputType The GetInputType method retrieves the input type.
GetNumInputConnections The GetNumInputConnections method retrieves the number of TV sources plugged into the tuner filter.
GetTunerMode The GetTunerMode method retrieves the current mode on a multifunction tuner.
GetTunerTVFormat The GetTunerTVFormat method retrieves the current analog video TV standard in use.
GetTuningSpace The GetTuningSpace method retrieves the tuning space.
GetVideoFrequency The GetVideoFrequency method retrieves the current video frequency.
IsTVTunerAvailable Check if the TV tuner device is avaiable for a source filter.
RegisterNotificationCallBack The RegisterNotificationCallBack method enables an object to receive event notifications when the tuner changes state. This method is not implemented.
SetChannel The SetChannel method sets the TV channel.
SetConnectInput The SetConnectInput method sets the hardware tuner input connection.
SetCountryCode The SetCountryCode method sets the country/region code to establish the frequency to use.
SetInputType The SetInputType method sets the tuner input type (cable or antenna).
SetTunerMode The SetMode method sets a multifunction tuner to the specified mode.
SetTuningSpace The SetTuningSpace method sets a storage index for regional channel-to-frequency mappings.
SignalPresent The SignalPresent method retrieves the strength of the signal on a given channel.
StoreAutoTune The StoreAutoTune method saves the fine-tuning information for all channels.
TVTunerLogon The Logon method logs a user onto the system.
TVTunerLogout The Logout method logs out the current user.
UnRegisterNotificationCallBack The UnRegisterNotificationCallBack method unregisters an object for event notifications. This method is not implemented.

Typelib: MV SmartControl

Analog Video Standard Table

Video Standard

Value

Description
MV_VIDEOSTANDARD_NONE

0x00000000

MV_VIDEOSTANDARD_NTSC_M

0x00000001

NTSC (M) standard, 7.5 IRE black
MV_VIDEOSTANDARD_NTSC_M_J

0x00000002

NTSC (M) standard, 0 IRE black (Japan)

MV_VIDEOSTANDARD_NTSC_433

0x00000004

NTSC-433

MV_VIDEOSTANDARD_PAL_B

0x00000010

PAL-B standard

MV_VIDEOSTANDARD_PAL_D

0x00000020

PAL (D) standard
MV_VIDEOSTANDARD_PAL_H

0x00000080

PAL (H) standard
MV_VIDEOSTANDARD_PAL_I

0x00000100

PAL (I) standard
MV_VIDEOSTANDARD_PAL_M

0x00000200

PAL (M) standard
MV_VIDEOSTANDARD_PAL_N

0x00000400

PAL (N) standard

MV_VIDEOSTANDARD_PAL_60

0x00000800

PAL-60 standard
MV_VIDEOSTANDARD_SECAM_B

0x00001000

SECAM (B) standard
MV_VIDEOSTANDARD_SECAM_D

0x00002000

SECAM (D) standard
MV_VIDEOSTANDARD_SECAM_G

0x00004000

SECAM (G) standard
MV_VIDEOSTANDARD_SECAM_H

0x00008000

SECAM (H) standard
MV_VIDEOSTANDARD_SECAM_K

0x00010000

SECAM (K) standard
MV_VIDEOSTANDARD_SECAM_K1

0x00020000

SECAM (K1) standard
MV_VIDEOSTANDARD_SECAM_L

0x00040000

SECAM (L) standard
MV_VIDEOSTANDARD_SECAM_L1

0x00080000

SECAM (L1) standard
MV_VIDEOSTANDARD_PAL_N_COMBO

0x00100000

Combination (N) PAL standard (Argentina)


TV Tuner Modes

Mode Value Desription
MV_TUNER_MODE_DEFAULT

0

Indicates default tuner mode.
MV_TUNER_MODE_TV

1

Indicates TV tuner mode.
MV_TUNER_MODE_FM_RADIO

2

Indicates FM radio tuner mode.
MV_TUNER_MODE_AM_RADIO

4

Indicates AM radio tuner mode.

MV_TUNER_MODE_DSS

8

Indicates Digital Satellite Service (DSS) tuner mode.
MV_TUNER_MODE_DTV

16

Indicates Digital TV tuner mode.

TV Tuner Input Type

Type Value Desciption
MV_TUNER_INPUT_CABLE

0

Indicates cable frequency.
MV_TUNER_INPUT_ANTENNA

1

Indicates broadcast antenna frequency.

Method IMVSCTVTuner::ChannelMinMax

Declaration: Sub ChannelMinMax(SourceFilter As String, ChannelMin As Long, ChannelMax As Long)

The ChannelMinMax method retrieves the highest and lowest channels available.

Parameter:

SourceFilter Name of the source filter.
ChannelMin Receives the lowest channel.
ChannelMax Receives the highest channel.
C Prototype:

HRESULT ChannelMinMax(BSTR SourceFilter, LONG* ChannelMin, LONG* ChannelMax);


Method IMVSCTVTuner::GetAudioFrequency

Declaration: Function GetAudioFrequency(SourceFilter As String) As Long

The GetAudioFrequency method retrieves the currently tuned audio frequency.

Parameter:

SourceFilter Name of the source filter.
C Prototype:

HRESULT GetAudioFrequency(BSTR SourceFilter, LONG* value);


Method IMVSCTVTuner::GetAvailableModes

Declaration: Function GetAvailableModes(SourceFilter As String) As Long

The GetAvailableModes method retrieves the tuner's supported modes.

Parameter:

SourceFilter Name of the source filter.
C Prototype:

HRESULT GetAvailableModes(BSTR SourceFilter, LONG* value);


Method IMVSCTVTuner::GetAvailableTunerTVFormats

Declaration: Function GetAvailableTunerTVFormats(SourceFilter As String) As Long

The GetAvailableTunerTVFormats method retrieves all the analog video TV standards that the tuner supports.

Parameter:

SourceFilter Name of the source filter.
C Prototype:

HRESULT GetAvailableTunerTVFormats(BSTR SourceFilter, LONG* value);


Method IMVSCTVTuner::GetChannel

Declaration: Sub GetChannel(SourceFilter As String, Channel As Long, VideoSubChannel As Long, AudioSubChannel As Long)

The GetChannel method retrieves the channel to which the tuner is set.

Parameter:

SourceFilter Name of the source filter.
Channel Receives the channel.
VideoSubChannel Receives the video subchannel.
AudioSubChannel Receives the audio subchannel.

The subchannel values could also set one of the following values.

Name Value Description
MV_TUNER_SUBCHAN_DEFAULT

-1

Default subchannel
MV_TUNER_SUBCHAN_NO_TUNE

-2

No subchannel tuning
C Prototype:

HRESULT GetChannel(BSTR SourceFilter, LONG Channel, LONG* VideoSubChannel, LONG* AudioSubChannel);


Method IMVSCTVTuner::GetConnectInput

Declaration: Function GetConnectInput(SourceFilter As String) As Long

The GetConnectInput method retrieves the hardware tuner input connection.

Parameter:

SourceFilter Name of the source filter.
C Prototype:

HRESULT GetConnectInput(BSTR SourceFilter, LONG* value);


Method IMVSCTVTuner::GetCountryCode

Declaration: Function GetCountryCode(SourceFilter As String) As Long

The GetCountryCode method retrieves the country/region code that establishes the current channel-to-frequency mapping.

Parameter:

SourceFilter Name of the source filter.
C Prototype:

HRESULT GetCountryCode(BSTR SourceFilter, LONG* value);


Method IMVSCTVTuner::GetInputType

Declaration: Function GetInputType(SourceFilter As String, Index As Long) As Long

The GetInputType method retrieves the input type.

Parameter:

SourceFilter Name of the source filter.
Index Index value that specifies the input pin that will be set.
C Prototype:

HRESULT GetInputType(BSTR SourceFilter, LONG Index, LONG* value);


Method IMVSCTVTuner::GetNumInputConnections

Declaration: Function GetNumInputConnections(SourceFilter As String) As Long

The GetNumInputConnections method retrieves the number of TV sources plugged into the tuner filter.

Parameter:

SourceFilter Name of the source filter.
C Prototype:

HRESULT GetNumInputConnections(BSTR SourceFilter, LONG* value);


Method IMVSCTVTuner::GetTunerMode

Declaration: Function GetTunerMode(SourceFilter As String) As Long

The GetTunerMode method retrieves the current mode on a multifunction tuner.

Parameter:

SourceFilter Name of the source filter.
C Prototype:

HRESULT GetTunerMode(BSTR SourceFilter, LONG* value);


Method IMVSCTVTuner::GetTunerTVFormat

Declaration: Function GetTunerTVFormat(SourceFilter As String) As Long

The GetTunerTVFormat method retrieves the current analog video TV standard in use.

Parameter:

SourceFilter Name of the source filter.
C Prototype:

HRESULT GetTunerTVFormat(BSTR SourceFilter, LONG* value);


Method IMVSCTVTuner::GetTuningSpace

Declaration: Function GetTuningSpace(SourceFilter As String) As Long

The GetTuningSpace method retrieves the tuning space.

Parameter:

SourceFilter Name of the source filter.
C Prototype:

HRESULT GetTuningSpace(BSTR SourceFilter, LONG* value);


Method IMVSCTVTuner::GetVideoFrequency

Declaration: Function GetVideoFrequency(SourceFilter As String) As Long

The GetVideoFrequency method retrieves the current video frequency.

Parameter:

SourceFilter Name of the source filter.
C Prototype:

HRESULT GetVideoFrequency(BSTR SourceFilter, LONG* value);


Method IMVSCTVTuner::IsTVTunerAvailable

Declaration: Function IsTVTunerAvailable(SourceFilter As String) As Boolean

Check if the TV tuner device is avaiable for a source filter.

Parameter:

SourceFilter Name of the source filter.
C Prototype:

HRESULT IsTVTunerAvailable(BSTR SourceFilter, VARIANT_BOOL* value);


Method IMVSCTVTuner::RegisterNotificationCallBack

Declaration: Sub RegisterNotificationCallBack(SourceFilter As String, UnkNotify As Unknown, Events As Long)

The RegisterNotificationCallBack method enables an object to receive event notifications when the tuner changes state. This method is not implemented.

Parameter:

SourceFilter Name of the source filter.
UnkNotify Pointer to the IUnknown pointer of a IAMTunerNotification interface that will receive the event notifications.
Events Flag indicating that an event has occurred.
C Prototype:

HRESULT RegisterNotificationCallBack(BSTR SourceFilter, UNKNOWN UnkNotify, LONG Events);


Method IMVSCTVTuner::SetChannel

Declaration: Sub SetChannel(SourceFilter As String, Channel As Long, VideoSubChannel As Long, AudioSubChannel As Long)

The SetChannel method sets the TV channel.

Parameter:

SourceFilter Name of the source filter.
Channel TV channel number.
VideoSubChannel

Predefined video subchannel value. Specify MV_TUNER_SUBCHAN_NO_TUNE for no tuning or MV_TUNER_SUBCHAN_DEFAULT for default subchannel. Meaningful only for satellite broadcasts.

AudioSubChannel

Predefined audio subchannel value. Specify MV_TUNER_SUBCHAN_NO_TUNE for no tuning or MV_TUNER_SUBCHAN_DEFAULT for default subchannel. Meaningful only for satellite broadcasts.

C Prototype:

HRESULT SetChannel(BSTR SourceFilter, LONG Channel, LONG VideoSubChannel, LONG AudioSubChannel);


Method IMVSCTVTuner::SetConnectInput

Declaration: Sub SetConnectInput(SourceFilter As String, Index As Long)

The SetConnectInput method sets the hardware tuner input connection.

Parameter:

SourceFilter Name of the source filter.
Index Index value of the input pin to set connection for.
C Prototype:

HRESULT SetConnectInput(BSTR SourceFilter, LONG Index);


Method IMVSCTVTuner::SetCountryCode

Declaration: Sub SetCountryCode(SourceFilter As String, CountryCode As Long)

The SetCountryCode method sets the country/region code to establish the frequency to use.

Parameter:

SourceFilter Name of the source filter.
CountryCode Value indicating the country/region code.
C Prototype:

HRESULT SetCountryCode(BSTR SourceFilter, LONG CountryCode);


Method IMVSCTVTuner::SetInputType

Declaration: Sub SetInputType(SourceFilter As String, Index As Long, InputType As Long)

The SetInputType method sets the tuner input type (cable or antenna).

Parameter:

SourceFilter Name of the source filter.
Index Index value that specifies the input pin to be set.
InputType Value indicating the connection type.
C Prototype:

HRESULT SetInputType(BSTR SourceFilter, LONG Index, LONG InputType);


Method IMVSCTVTuner::SetTunerMode

Declaration: Sub SetTunerMode(SourceFilter As String, TunerMode As Long)

The SetMode method sets a multifunction tuner to the specified mode.

Parameter:

SourceFilter Name of the source filter.
TunerMode Flag indicating which mode to switch to.
C Prototype:

HRESULT SetTunerMode(BSTR SourceFilter, LONG TunerMode);


Method IMVSCTVTuner::SetTuningSpace

Declaration: Sub SetTuningSpace(SourceFilter As String, TuningSpace As Long)

The SetTuningSpace method sets a storage index for regional channel-to-frequency mappings.

Parameter:

SourceFilter Name of the source filter.
TuningSpace Value indicating the current locale.
C Prototype:

HRESULT SetTuningSpace(BSTR SourceFilter, LONG TuningSpace);


Method IMVSCTVTuner::SignalPresent

Declaration: Function SignalPresent(SourceFilter As String) As Long

The SignalPresent method retrieves the strength of the signal on a given channel.

Signal Value
MV_TUNER_HASNOSIGNALSTRENGTH

-1

MV_TUNER_NOSIGNAL

0

MV_TUNER_SIGNALPRESENT

1

Parameter:

SourceFilter Name of the source filter.
C Prototype:

HRESULT SignalPresent(BSTR SourceFilter, LONG* value);


Method IMVSCTVTuner::StoreAutoTune

Declaration: Sub StoreAutoTune(SourceFilter As String)

The StoreAutoTune method saves the fine-tuning information for all channels.

Parameter:

SourceFilter Name of the source filter.
C Prototype:

HRESULT StoreAutoTune(BSTR SourceFilter);


Method IMVSCTVTuner::TVTunerLogon

Declaration: Sub TVTunerLogon(SourceFilter As String, CurrentUser As Long)

The Logon method logs a user onto the system.

Parameter:

SourceFilter Name of the source filter.
CurrentUser Handle to an application-defined data structure that identifies the current user.
C Prototype:

HRESULT TVTunerLogon(BSTR SourceFilter, LONG CurrentUser);


Method IMVSCTVTuner::TVTunerLogout

Declaration: Sub TVTunerLogout(SourceFilter As String)

The Logout method logs out the current user.

Parameter:

SourceFilter Name of the source filter.
C Prototype:

HRESULT TVTunerLogout(BSTR SourceFilter);


Method IMVSCTVTuner::UnRegisterNotificationCallBack

Declaration: Sub UnRegisterNotificationCallBack(SourceFilter As String, UnkNotify As Unknown)

The UnRegisterNotificationCallBack method unregisters an object for event notifications. This method is not implemented.

Parameter:

SourceFilter Name of the source filter.
UnkNotify Pointer to the IUnknown pointer of a IAMTunerNotification interface that will receive the event notifications.
C Prototype:

HRESULT UnRegisterNotificationCallBack(BSTR SourceFilter, UNKNOWN UnkNotify);