2

Win32 SmartDevice DLL 项目 - VS 2008

我正在尝试使用该ICaptureGraphBuilder2界面,但是当我尝试使用以下代码创建 istance 时:

CComPtr<ICaptureGraphBuilder2> pCaptureGraphBuilder;
hr = pCaptureGraphBuilder.CoCreateInstance(CLSID_CaptureGraphBuilder);

hr0x80040154

我怎么解决这个问题?

4

1 回答 1

1

很可能,Capture Graph Builder (CLSID_CaptureGraphBuilderCLSID_CaptureGraphBuilder2) 在 Windows Mobile 中不可用。它仅在桌面上可用。

错误代码为0x80040154= REGDB_E_CLASSNOTREG“类未注册”。

在 Windows Mobile/CE 中您只有 API 的一个子集。

于 2012-10-15T18:11:04.697 回答