When using the win32api from pywin, I am getting incorrect values for the cursor position. My screen\'s resolution is 1920x1080, but when I use GetCursorPos() I have (0,0) i
You are subject to DPI virtualization. Your application has not declared itself aware of high DPI and you have a font scaling of 125%.
If you want to avoid DPI virtualization either add the high DPI aware option to the application manifest or call either SetProcessDPIAware
or SetProcessDPIAwareness
.