在GraphEdit中模拟构建Graph[13]

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

本文简介:选择自 aoosang 的 blog

dword dwregister;

   

// create the filter graph manager.

cocreateinstance(clsid_filtergraph, null, clsctx_inproc_server,

                        iid_igraphbuilder, (void **)&pgraph);

#ifdef _debug

hr = addtorot(pgraph, &dwregister);

#endif

 

// rest of the application (not shown).

 

#ifdef _debug

removefromrot(dwregister);

#endif

pgraph->release();

同时运行你的应用程序和graphedit,你就可以在graphedit中查看你应用程序中的filter graph了。在graphedit中,如下

      8

然后就出现了下面的对话框

本文关键:在GraphEdit中模拟构建Graph
  相关方案
Google
 

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

go top