Hello,

In waiting for my last patch of test for SetCooperativeLevel being accepted, I send  to the list my attempt to fix this function. With the attached patch,all the already implemented and all the forecoming tests succeded.

I tried to implement Henri's idea about the logic of this function (see http://www.winehq.org/pipermail/wine-devel/2010-August/086201.html )

Any feedback of this patch would be welcomed.

Thanks in advance.

A+

David