IltmmAudioInputs::put_Enable Example for C++
VARIANT_BOOL bEnable;
// Disable all inputs:
pAudioInputs->put_Enable (VARIANT_FALSE);
// Now enable the currently selected input:
pAudioInputs->put_Enable (VARIANT_FALSE);
// Check if the currently selected input is enabled:
pAudioInputs->get_Enable (&bEnable);
if( bEnable == VARIANT_TRUE )
MessageBox("Info", "The selected input is enabled");
else
MessageBox("Info", "All inputs are disabled");