I'm trying to implement screen capturing. I know there are already few solutions on the internet - for example, this Capture screenshot of active window? But that solution is not sufficient. Some of the applications are impossible to capture (when I try to capture the screen the app is automatically minimizing. I don't know why. Maybe it has some kind of protection against screenshotting?). I'm trying to bypass this.
Maybe there is a way to intercept the signal from the GPU? Or read the GPU buffer or something?