[英]Cannot create instance of ICaptureGraphBuilder2
Win32 SmartDevice DLL project - VS 2008 Win32 SmartDevice DLL项目-VS 2008
I'm trying to use the ICaptureGraphBuilder2
interface, but when I try to create the istance using the following code: 我正在尝试使用
ICaptureGraphBuilder2
接口,但是当我尝试使用以下代码创建该距离时:
CComPtr<ICaptureGraphBuilder2> pCaptureGraphBuilder;
hr = pCaptureGraphBuilder.CoCreateInstance(CLSID_CaptureGraphBuilder);
hr
is 0x80040154
. hr
是0x80040154
。
How can I solve this problem? 我怎么解决这个问题?
Most likely, Capture Graph Builder ( CLSID_CaptureGraphBuilder
and CLSID_CaptureGraphBuilder2
) is not available in Windows Mobile. 很有可能,Windows Mobile中不提供捕获图生成器(
CLSID_CaptureGraphBuilder
和CLSID_CaptureGraphBuilder2
)。 It is only available on desktop. 它仅在台式机上可用。
The error code is 0x80040154
= REGDB_E_CLASSNOTREG
"Class not registered". 错误代码为
0x80040154
= REGDB_E_CLASSNOTREG
“类未注册”。
You only have a subset of APIs in Windows Mobile/CE. Windows Mobile / CE中只有一部分API。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.