user32: TrackPopupMenu(Ex) fixes

Rein Klazes wijn at online.nl
Mon Mar 2 12:17:54 CST 2009


Hi,

(resent with correct from: address this time)

Fix another bug in the application of bug#9615. TrackMenuPopupEx is
called with a NULL menu handle, and the application crashes on the
returned NULL value in the following INITMENU message.

for the Changelog:
     Check for invalid menu handle passed to TrackPopupMenu and
TrackPopupMenuEx.
     Add conformance tests for the correct handling of those.
     TrackPopupMenu should call TrackPopupMenuEx, not the other way.


Rein.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: menutrackpopupmenufix.diff
Type: text/x-patch
Size: 9648 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090302/9880c1da/attachment.bin 


More information about the wine-patches mailing list