IltmmCapture::get_UseVideoDeviceAudio Example for C++
HRESULT hr;
VARIANT_BOOL vEnable;
m_capture->get_UseVideoDeviceAudio (&vEnable);
if (FAILED(hr))
return hr;
if (vEnable == VARIANT_TRUE)
{
m_capture->put_UseVideoDeviceAudio (VARIANT_FALSE);
if (FAILED(hr))
return hr;
}