<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Is this patch correct to test d3d7 and d3d2 SetCooperativeLevel?<br>For now, all the tests pass on a real vista box.<br><br>David<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">De :</span></b> Stefan D�singer &lt;stefandoesinger@gmx.at&gt;<br><b><span style="font-weight: bold;">� :</span></b> paulo lesgaz &lt;jeremielapuree@yahoo.fr&gt;<br><b><span style="font-weight: bold;">Cc :</span></b> wine-devel@winehq.org<br><b><span style="font-weight: bold;">Envoy� le :</span></b> Mar 24 ao�t 2010, 16h 44min 38s<br><b><span style="font-weight: bold;">Objet&nbsp;:</span></b> Re: Re : ddraw [try
 2]: SetCooperativeLevel with Full screen + exclusive + normal is authorized<br></font><br><base>I think those tests should do, but have a few spelling issues and you're not releasing the surface. So if I understand things correctly:<div><br></div><div>*) NORMAL | FULLSCREEN | EXCLUSIVE -&gt; fullscreen mode</div><div>*) NORMAL | EXCLUSIVE -&gt; error</div><div>*) NORMAL | FULLSCREEN -&gt; windowed mode</div><div><br></div><div>For testing older ddraw interface vesions you can QueryInterface the ddraw object for IID_IDirectDraw, IID_IDirectDraw2(and ddraw3 and ddraw4). Then you run the same tests on those.</div><div><br></div><div>I am pretty sure the check that NORMAL mode is mutually exclusive with FULLSCREEN/EXCLUSIVE already existed in old ddraw, and is motivated by a statement in msdn that those modes are mutually exclusive - which makes sense, you can't be in fullscreen mode and not be in fullscreen mode at the same time. It seems that one flag is
 ignored rather than an error returned.</div><div><br></div><div>On a general note, I am away from home the next weeks. I expect to be able to read mail, but it will me sporadic(ok, I haven't been reliable in the past few weeks either)</div><div><br></div><div><br><div><div>Am 24.08.2010 um 15:26 schrieb paulo lesgaz:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><div><div style="margin: 0px; font-family: times,serif; font-size: 12pt;">Such tests are what you were thinking about?<br>They all passed on my real vista box.<br><br>David<br><div style="margin: 0px;"><br></div><div style="margin: 0px; font-family:
 times,serif; font-size: 12pt;"><br><div style="margin: 0px; font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">De :</span></b><span class="Apple-converted-space">&nbsp;</span>Stefan D�singer &lt;<a rel="nofollow" ymailto="mailto:stefandoesinger@gmx.at" target="_blank" href="mailto:stefandoesinger@gmx.at">stefandoesinger@gmx.at</a>&gt;<br><b><span style="font-weight: bold;">� :</span></b><span class="Apple-converted-space">&nbsp;</span><a rel="nofollow" ymailto="mailto:wine-devel@winehq.org" target="_blank" href="mailto:wine-devel@winehq.org">wine-devel@winehq.org</a><br><b><span style="font-weight: bold;">Envoy� le :</span></b><span class="Apple-converted-space">&nbsp;</span>Mar 24 ao�t 2010, 11h 30min 59s<br><b><span style="font-weight: bold;">Objet&nbsp;:</span></b><span class="Apple-converted-space">&nbsp;</span>Re: ddraw [try 2]: SetCooperativeLevel with Full
 screen + exclusive + normal is authorized<br></font><br>Hi,<br>Can you add a test that tests in which mode ddraw is after such a call? Specfically, try to create a double buffered primary surface. If this succeeds, ddraw is in fullscreen mode. If ddraw is in normal mode you'll get DDERR_NOEXCLUSIVEMODE (or similar) back.<br><br>Am 24.08.2010 um 10:00 schrieb David Adam:<br><br>&gt; Fixed a typo<br>&gt;<span class="Apple-converted-space">&nbsp;</span><br>&gt; A+<br>&gt;<span class="Apple-converted-space">&nbsp;</span><br>&gt; David<br>&gt; &lt;0001-SetCooperativeLevel-with-Full-screen-exclusive-norma.patch&gt;<br><br><br><br></div></div></div><br><span>&lt;0001-SetCooperativeLevel-with-Full-screen-exclusive-norma.patch&gt;</span></div></span></blockquote></div><br></div></div></div>
</div><br>




      </body></html>