Sets the tuning space with the specified number as the current tuning space.


#include "ltmm.h"

Language Syntax
C HRESULT IltmmTVTuner_put_TuningSpace(pTV, newVal)
C++ HRESULT put_TuningSpace(newVal)


IltmmTVTuner *pTV

Pointer to an IltmmTVTuner interface.

long newVal

Number of the tuning space to set.


Value Meaning
S_OK The function was successful.
<> S_OK An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.


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 IltmmTVTuner::get_TuningSpace.

For more detailed information, refer to the Microsoft documentation for IAMTuner::get_TuningSpace.

Required DLLs and Libraries


Win32, x64.

See Also




Language Example
C IltmmTVTuner::put_TuningSpace
C++ IltmmTVTuner::put_TuningSpace
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.