void GetCaptureTVTunerCountryCode(IltmmCapture *pCapture){long lCountryCode;CString szCountryCode;IltmmTVTuner* pTuner;// get the tuner objectHRESULT hr = pCapture->get_TVTuner(&pTuner);if(SUCCEEDED(hr) && pTuner != NULL){// set the country code to 1pTuner->put_CountryCode(1);// get it to checkpTuner->get_CountryCode(&lCountryCode);// display the current country codeszCountryCode.Format(TEXT("Country code is %d"), lCountryCode);MessageBox(NULL, szCountryCode, TEXT("TV Tuner Country Code"), MB_OK);// release the tuner objectpTuner->Release();}}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
