I’ve been working on some windows application that uses the StretchDIBits function from Window’s gdi32.dll to paint an image on screen. I managed to make it work on Windows 11
But when I run it on Windows 10, StretchDIBits returns 0 and I got no idea what’s causing this issue, keep in mind that I’ve tested the same code in C++ and it works on both Windows 11 and Windows 10