I have come across Window 7's awesome feature - Presentation Mode (Windows Key + P) - recently. I understood that displayswitch.exe is the executable to setup required modes like expand and etc.. I have only one Monitor connected with my PC. In this case, If I execute, displayswitch.exe /expand command, secondary monitor is enabled immediately under display properties > settings tab (though Second monitor hasn't been attached with PC). I would like to know, how does displayswitch.exe work in the above case under windows 7?. Is there anyway to implement the same using any windows API or other APIs ?.