@LM I'd be interested to know that it does rectify the issue on your end. If you get a chance to run it, please do. I know it worked for me because I was setting the environment to be aware of the DPI scaling which resulted in correct screenshots. I know it should work on your machine but it would be good to see if it works on yours. Don't feel like you absolutely must, though. Chances are, the bug fix will work and you won't have to worry at all.
@SpriggsySpriggs I did not have a chance to run it on the Win 10 machine but I was able to reproduce the issue on a Windows 8.0 machine (resolution 1920x1080, but set to enlarge text). This is the output from your code:
1
0 0 1536 864
0 0 1536 864
When I do a screenshot with _SCREENIMAGE, I only get part of the screen. What I get is a 1536 x 864 image that represents the upper left portion of the screen. The lower right portion that I see on my actual computer screen is not included.
When I change the Windows settings back to not enlarge the text, _SCREENIMAGE grabs the whole screen correctly (1920x1080 image), and the output of your code is:
1
0 0 1920 1080
0 0 1920 1080
I assume it will work exactly the same on the Windows 10 machine, but I am not able to get to that machine right now.
Does this help? Thanks!