Switches the application between windowed and full-screen modes.
HRESULT DXUTToggleFullscreen();
None.
If the function succeeds, the return value is S_OK. If the function fails, the return value can be one of the error codes in DXUTERR.
Toggling between windowed and full-screen modes will result in the Direct3D device being reset or re-created.
Header: Declared in Dxut.h.