LEADTOOLS Media Foundation Help > LEADTOOLS Media Foundation Features > Media Foundation Function References > IltmfTVTuner Interface > IltmfTVTuner::put_CountryCode |
#include "ltmf.h"
C Syntax |
HRESULT IltmfTVTuner_put_CountryCode(pTV, newVal) |
C++ Syntax |
HRESULT put_CountryCode(newVal) |
IltmfTVTuner *pTV; |
/* pointer to an interface */ |
long newVal; |
/* country code */ |
Sets the country or region code that is used in channel to frequency conversion.
Parameter |
Description |
pTV |
Pointer to an IltmfTVTuner interface. |
pVal |
Value that represents the country or region code 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
To get the current country or region code used in the channel to frequency conversion, use IltmfTVTuner::get_CountryCode.
For more detailed information, refer to the Microsoft documentation for IAMTuner::put_CountryCode.
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_CountryCode, IltmfTVTuner::get_VideoFrequency, IltmfTVTuner::get_AudioFrequency |
Topics: |