BitBlt and Direct3D for Screenshots C#
I’m working on a program to capture screenshots of windows from a window handle. I start by taking the screen shot using BitBlt, and if that fails when the window is using accelerated graphics, I switch to using Direct3D.