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);
}
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document