Sets a previously created window for use by DXUT.
HRESULT DXUTSetWindow( HWND hWndFocus, HWND hWndDeviceFullScreen, HWND hWndDeviceWindowed, BOOL bHandleMessages );
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.
This function relies on an existing window object created by the application. Alternately, the application can call DXUTCreateWindow to have DXUT create a window. If neither DXUTCreateWindow nor DXUTSetWindow has been called before calling a framework device creation method, the framework will automatically call DXUTCreateWindow using the default parameter values.
No input parameter may be NULL. However, the same handle may be used for more than one parameter.
Header: Declared in Dxut.h.