IltmmCapture::get_PreviewingCloseCaption Example for C

/* Having an IltmmCapture Interface, pCap:*/

VARIANT_BOOL bCC;

/* check the close captions previewing state */
IltmmCapture__get_PreviewingCloseCaption
(pCap, &bCC);
If( bCC == VARIANT_FALSE )
{
   /*Close captions are not previewing; do something*/
}