break;
}
// 释放.
pMediaControl->Release();
pEv->Release();
pGraph->Release();
CoUninitialize();
}注:有些切换器如MMSwitch只能在运行中切换,所以在切换前要加一句 pMediaControl->Pause();
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/vcmute/archive/2005/10/16/504909.aspx
类别:Directx 查看评论