IltmmCapture::get_PreviewingCloseCaption Example for C

void IltmmCapture_get_PreviewingCloseCaption_Example (IltmmCapture* pCapture)
{
   VARIANT_BOOL bCC;

   /* check the close captions previewing state */
   IltmmCapture_get_PreviewingCloseCaption(pCapture, &bCC);

   if( bCC == VARIANT_FALSE )
   {
      /*Close captions are not previewing; do something*/
   }
}