I've been playing with this chunk of code trying to get what I want but no luck.I don't understand why the SMALL_RECT has 4 sides - so I did the stupid idea of just making the function take in two ints to change them to a perfect square technically.
All I want is the app to look how when you push the maximize button on the console window.