Can OF set or change the screen resolution on windows?

Hey, I was asked this question. I see there’s a way to do it on a mac, but I’m not sure where I would start for windows (or even linux). Anyone have experience with this?

yes,you can by using DEVMODE
http://msdn.microsoft.com/en-us/library/windows/desktop/dd183565(v=vs.85).aspx