BOOL CanPreviewClosedCaptions(IltmmCapture *pCapture)
{
VARIANT_BOOL bCC;
// check the closed captions previewing state
pCapture->get_PreviewingCloseCaption(&bCC);
if (bCC == VARIANT_FALSE)
{
//Close captions are not previewing, see if we have CCs
pCapture->get_CloseCaptionAvailable(&bCC);
}
return (bCC == VARIANT_TRUE);
}