user32: TrackPopupMenu(Ex) fixes

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


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 
    Add conformance tests for the correct handling of those.
    TrackPopupMenu should call TrackPopupMenuEx, not the other way.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: menutrackpopupmenufix.diff
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list