WIN32 - optimized window resolution updating