Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Multimedia API Help

IltmmAudioInputs::put_Enable Example for C

Show in webframe

void IltmmAudioInputs_put_Enable_Example (IltmmAudioInputs* pAudioInputs)
{
   VARIANT_BOOL bEnable;

   // Disable all inputs: 
   IltmmAudioInputs_put_Enable(pAudioInputs, VARIANT_FALSE); 

   // Now enable the currently selected input: 
   IltmmAudioInputs_put_Enable (pAudioInputs, VARIANT_FALSE);

   // Check if the currently selected input is enabled: 
   IltmmAudioInputs_get_Enable(pAudioInputs, & bEnable); 

   if( bEnable == VARIANT_TRUE ) 
   {
      MessageBox( 0, "Info", "The selected input is enabled", 0); 
   }
   else 
   {
      MessageBox( 0, "Info", "All inputs are disabled", 0); 
   }
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.