user32: TrackPopupMenu(Ex) fixes

Rein Klazes rklazes at wanadoo.nl
Mon Mar 2 11:32:46 CST 2009


Hi,

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: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090302/79c11358/attachment.bin 


More information about the wine-patches mailing list