This repo contains driver samples prepared for use with Microsoft Visual Studio and the Windows Driver Kit (WDK). It contains both Universal Windows Driver and desktop-only driver samples.
Microsoft Public License
6.92k
stars
4.93k
forks
source link
IMoniker->BindToObject error: HRESULT: 0x80070002 to avscamera driver that is sample from windows driver sample #978
visual studio 2022 and wdk 10.0.22621.382
visual studio 2019 and wdk 10.0.19041
visual studio 2017 and wdk 10.0.17763 And I install the driver on Windows 10 19045 version. I failed to bind the IBasefilter object by "Selecting a Capture Device" with error code 0x80070002.
I use Windows-driver-samples on github to make an original camera driver https://github.com/microsoft/Windows-driver-samples/tree/main/avstream/avscamera The compiler environment is used the following combinations
visual studio 2022 and wdk 10.0.22621.382 visual studio 2019 and wdk 10.0.19041 visual studio 2017 and wdk 10.0.17763 And I install the driver on Windows 10 19045 version. I failed to bind the IBasefilter object by "Selecting a Capture Device" with error code 0x80070002.
Copy
// hr = 0x80070002 But it works on Windows 11 22000 and 22621. How to resolve this problem? I will be grateful for any help.