LEADTOOLS Media Foundation Help > LEADTOOLS Media Foundation Features > Media Foundation Function References > IltmfTVTuner Interface > IltmfTVTuner::put_TuningSpace |
#include "ltmf.h"
C Syntax |
HRESULT IltmfTVTuner_put_TuningSpace(pTV, newVal) |
C++ Syntax |
HRESULT put_TuningSpace(newVal) |
IltmfTVTuner *pTV; |
/* pointer to an interface */ |
long newVal; |
/* number of the tuning space to set */ |
Sets the tuning space with the specified number as the current tuning space.
Parameter |
Description |
pTV |
Pointer to an IltmfTVTuner interface. |
newVal |
Number of the tuning space to set. |
Returns
S_OK |
The function was successful. |
<> S_OK |
An error occurred. Refer to the Error Codes or the HRESULT error codes in the MediaFoundation documentation. |
Comments
A tuning space is a set of information about the available channels and the channel to frequency mapping, which can identify a particular network provider or broadcast source. Multiple tuning spaces can be determined and stored for use in multiple areas. It is suggested that you use the region or country code as the tuning space number. For more information on this, consult the Microsoft documentation.
To get the number of the current tuning space used by the tuner, call IltmfTVTuner::get_TuningSpace.
For more detailed information, refer to the Microsoft documentation for IAMTuner::get_TuningSpace.
Required DLLs and Libraries
LTMF For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64
See Also
Elements: |
IltmfTVTuner::get_TuningSpace, IltmfTVTuner::AutoTune, IltmfTVTuner::StoreAutoTune |
Topics: |
Example
For a C++ example, refer to IltmfTVTuner::put_TuningSpace Example for C++.