develop virtual camera driver avscamera, can't BindtoObject IBaseFilter on windows 10 but works on windows 11

榮章 林 0 Reputation points
2023-03-29T04:18:02.1966667+00:00

Hello ereryone. I developed virtual camera driver by https://github.com/microsoft/Windows-driver-samples/tree/main/avstream/avscamera

I installed on Windows 10, then I wanted to get ksproperty from the device by ibasefilter.

But I failed on BindtoObject function as https://learn.microsoft.com/en-us/windows/win32/directshow/selecting-a-capture-device

It worked on Windows 11.

hr = pMoniker->BindToStorage(0, 0, IID_PPV_ARGS(&pPropBag)); works

hr = pMoniker->BindToObject(0, 0, IID_IBaseFilter, (void**)&pCap); doesn't work

error code is 0x8007002

and failed on HLK test like below

OS: Windows 10 Pro
Version: 6.3.19045.00 AMD64
ERROR: No IBaseFilter filter on the device

Any help will be highly appreciated and looking forward your replys, thanks a lot.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,617 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 43,931 Reputation points
    2023-03-29T10:48:19.2233333+00:00

    Hello there,

    The error code you have shared is for Windows update

    This problem occurs when some files in the update are missing or Windows Update database on the computer is inconsistent with the database instructions in the update.

    Try to resolve the update issue and see if that helps.

    One of the components of the Internet connection on your computer is a built-in set of instructions called TCP/IP. TCP/IP can sometimes become damaged or corrupted. If you cannot connect to the Internet and you have tried all other methods to resolve the problem, TCP/IP might be causing it.

    Refer the help article to reset Internet Protocol (TCP/IP).

    http://support.microsoft.com/kb/299357

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments