小弟学习filter的开发,不知filter注册中的AMOVIESETUP_PIN结构体中的变量如何使用,尤其是结构体中的第四和第五个变量是如何使用的,下面是我截取的一个实例中的一部分代码
const AMOVIESETUP_PIN psudPins[] =
{
// 定义Input Pin的信息
{
L"Input", // String pin name
FALSE, // Is it rendered
FALSE, // Is it an output
FALSE, // Allowed none
FALSE, // Allowed many
&CLSID_NULL, // Connects to filter
0 // Connects to pin
1, // Number of types
&sudPinTypes
} // The pin details
}还有一个问题是AMOVIESETUP_FILTER 结构体中filter名字这一项与CFactoryTemplateg_Templates[]中的名字不同会有什么影响。 请高手解答一下
const AMOVIESETUP_PIN psudPins[] =
{
// 定义Input Pin的信息
{
L"Input", // String pin name
FALSE, // Is it rendered
FALSE, // Is it an output
FALSE, // Allowed none
FALSE, // Allowed many
&CLSID_NULL, // Connects to filter
0 // Connects to pin
1, // Number of types
&sudPinTypes
} // The pin details
}还有一个问题是AMOVIESETUP_FILTER 结构体中filter名字这一项与CFactoryTemplateg_Templates[]中的名字不同会有什么影响。 请高手解答一下
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货