IltmmAudioInputs::put_Enable Example for C
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);