DXUTToggleFullscreen
Microsoft DirectX 9.0 SDK Update (October 2004)

DXUTToggleFullscreen Function


Switches the application between windowed and full-screen modes.

Syntax

HRESULT DXUTToggleFullscreen(VOID);

Return Value

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 Microsoft Direct3D device being reset or re-created.

Function Information

Headerdxut.h
Import libraryNone
Minimum operating systems Windows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.