Directshow开发的基本技巧[30]

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

本文简介:选择自 aoosang 的 blog

 

    hr = pfilter->enumpins(&penum);

    if (failed(hr))

    {

        return hr;

    }

    while(penum->next(1, &ppin, 0) == s_ok)

    {

        pin_direction pindirthis;

        hr = ppin->querydirection(&pindirthis);

        if (failed(hr))

        {

            ppin->release();

            penum->release();

            return hr;

        }

        if (pindir == pindirthis) //如果类型符合

        {

            // found a match. return the ipin pointer to the caller.

            **pppin = ppin;

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

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

go top