DDraw: Better flag handling in SetCooperativeLevel

Stefan Dösinger stefandoesinger at gmx.at
Thu Aug 25 13:45:52 CDT 2005


Hello,
This patch adds better handling for the flags in 
Main_DirectDraw_SetCooperativeLevel. The function reacts to 
DDSCL_SETFOCUSWINDOW, DDSCL_CREATEDEVICEWINDOW and DDSCL_SETDEVICEWINDOW. It 
doesn't really handle them, but it returns the correct return values. The 
patch also contains a lenghty test which I used to verify the behaviour with 
Windows 2000.

I've also done some regression testing against some games installed and didn't 
find any problems.

Stefan Dösinger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cooplevels.diff
Type: text/x-diff
Size: 10519 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050825/a04d5a09/cooplevels.bin


More information about the wine-patches mailing list