IltmmCapture::get_PreviewingCloseCaption Example for C++

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); 
} 
Help Version 20.0.2019.3.12
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help