<br><br><div class="gmail_quote">On Wed, Aug 12, 2009 at 3:05 AM, Stefan Dösinger <span dir="ltr">&lt;<a href="mailto:stefandoesinger@gmx.at">stefandoesinger@gmx.at</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Am Tuesday 11 August 2009 23:43:33 schrieb Johan Gill:<br>
<div class="im">&gt; There is IWineD3DDeviceImpl_SetupFullscreenWindow, but that one is not<br>
&gt;<br>
&gt; exported so it can&#39;t be called from ddraw as it is.<br>
&gt;<br>
&gt; Calling it from within IWineD3DDevice_SetDisplayMode seems troublesome<br>
&gt; since the hwnd to use is not always available in the WineD3DDevice. See for<br>
&gt; instance this example from CreateSwapChain:<br>
</div>Hmm, this entire problem is pretty tricky, and it goes beyond ddraw. We have<br>
to attack the broader set of problems.<br>
<br>
For starts, we need a few tests to find out<br>
<br>
*) Does ddraw change the window params at all, and if yes, when(your test<br>
already answers part of that).<br>
*) How does restoredisplaymode behave<br>
*) Does ddraw restore the display mode on SetCooperativeLevel(DDSCL_NORMAL)<br>
*) Does ddraw restore the display mode on ddraw device release? On primary<br>
surface release?<br>
*) Who restores the display mode on app exit if the ddraw iface is not<br>
released? What happens with the window in that case?<br>
*) Who restores the display mode on an app crash?<br>
*) How does User32.ChangeDisplaySettingsEx FULLSCREEN flag(= temporary mode<br>
change) work?<br>
*) What happens if two different apps set conflicting FULLSCREEN modes?<br>
*) How does the CDS FULLSCREEN flag affect the window?<br>
<br>
And I am sure more questions will arise during the testing process<br>
<br>
</blockquote></div>What&#39;s the current status here? I&#39;ve been up to the nose in other things, but I should be able to check a few things out if needed.<br><br>/Johan Gill<br><br>