IltmmTVTuner::SetInputType Example for C
long lInputtype;
IltmmTVTuner* pTuner;
HRESULT hr = IltmmCapture__get_TVTuner (m_capture, &pTuner);
if(SUCCEEDED(hr) && pTuner != NULL)
{
IltmmTVTuner_SetInputType(pTuner, 0, ltmmTunerInputCable);
IltmmTVTuner__getInputType(pTuner, 0, &lInputtype);
IltmmTVTuner_Release(pTuner);
}
L_MULTIMEDIATEX_API void IltmmTVTuner_SetInputType_Example (IltmmCapture *pCapture) { long lInputtype; IltmmTVTuner* pTuner; HRESULT hr = IltmmCapture_get_TVTuner (pCapture, &pTuner); if(SUCCEEDED(hr) && pTuner != NULL) { IltmmTVTuner_SetInputType(pTuner, 0, ltmmTunerInputCable); IltmmTVTuner_GetInputType(pTuner, 0, &lInputtype); IltmmTVTuner_Release(pTuner); } }