DXUTToggleFullscreen

Switches the application between windowed and full-screen modes.

HRESULT DXUTToggleFullscreen();

Parameters

None.

Return Values

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.

Remarks

Toggling between windowed and full-screen modes will result in the Direct3D device being reset or re-created.

Requirements

Header: Declared in Dxut.h.