IltmmTVTuner::put_CountryCode

#include "ltmm.h"

C Syntax

HRESULT IltmmTVTuner_put_CountryCode(pTV, newVal)

C++ Syntax

HRESULT put_CountryCode(newVal)

 

IltmmTVTuner *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 IltmmTVTuner 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 DirectShow documentation.

Comments

To get the current country or region code used in the channel to frequency conversion, use IltmmTVTuner::get_CountryCode.

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

Required DLLs and Libraries

LTMM

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64

See Also

Elements:

IltmmTVTuner::get_CountryCode, IltmmTVTuner::get_VideoFrequency, IltmmTVTuner::get_AudioFrequency

Topics:

Multimedia Function Group

Example

For a C example, refer to IltmmTVTuner::get_CountryCode Example for C.

For a C++ example, refer to IltmmTVTuner::get_CountryCode Example for C++.