[PATCH 1/3] kernel32/tests: Add test for 'all processors' flag on Vista and newer.

Erich Hoover ehoover at mines.edu
Thu Feb 18 21:42:01 CST 2010


On Thu, Feb 18, 2010 at 8:29 PM, Andrew Nguyen <arethusa26 at gmail.com> wrote:
> On Thu, Feb 18, 2010 at 8:51 PM, Erich Hoover <ehoover at mines.edu> wrote:
>> ...
>>    The attached patch adds a test for
>> SetThreadAffinityMask(thread,-1), which succeeds on Windows Vista and
>> newer.
>> ...
>
> The test shouldn't query the Windows version explicitly. Instead, the
> older return value on pre-Vista version should be denoted by the
> broken() macro.

Then the test could only be triggered in Wine.  What if this "feature"
gets removed again in some later version of Windows?

Erich Hoover
ehoover at mines.edu



More information about the wine-devel mailing list