Directshow开发的基本技巧[16]

[入库:2005年8月19日] [更新:2007年3月24日]

本文简介:选择自 aoosang 的 blog

5 然后利用imoniker::bindtoobject生成绑定道设备上的filter。调用ifiltergraph::addfilterfilter添加到graph图中。

       1

// create the system device enumerator.

hresult hr;

icreatedevenum *psysdevenum = null;

hr = cocreateinstance(clsid_systemdeviceenum, null, clsctx_inproc_server,

    iid_icreatedevenum, (void **)&psysdevenum);

if (failed(hr))

{

    return hr;

}

本文关键:Directshow开发的基本技巧
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top