DDraw: Better flag handling in SetCooperativeLevel

Stefan Dösinger stefandoesinger at gmx.at
Thu Sep 8 05:03:52 CDT 2005


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

This time with the logging suggestions from Oliver Stieber.

Changelog:
*Add handling for DDSCL_SETFOCUSWINDOW in SetCooperativeLevel
*Print a fixme for DDSCL_CREATEDEVICEWINDOW  and DDSCL_SETDEVICEWINDOW.

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


More information about the wine-patches mailing list