How can I disable the attached or built-in webcam(s) programmatically under Windows?
By disabling them, I mean that any program trying to access the cameras should either:
- be unable to access them
- be able to access them, but instead of the video feed, they should receive a black picture
Why I want to do this:
I have a laptop with a webcam. There's no easy way to disable it via software. I want to create an application with a button that disables the webcam, so that any application that wants to use it will be unable to, and a button to re-enable it. I don't want to put anything over the cam physically, otherwise I wouldn't be asking this question here.