IltmmTVTuner::get_CountryCode Example for C++
long lCountryCode;
CString szCountryCode;
IltmmTVTuner* pTuner;
HRESULT hr = m_capture->get_TVTuner (&pTuner);
if(SUCCEEDED(hr) && pTuner != NULL)
{
pTuner->put_CountryCode (1);
pTuner->get_CountryCode (&lCountryCode);
szCountryCode.Format("Country code is %d", lCountryCode);
MessageBox(szCountryCode);
pTuner->Release();
}