http://bugs.winehq.org/show_bug.cgi?id=8241
--- Comment #19 from Dmitry Timoshkov dmitry@codeweavers.com 2009-05-19 02:29:15 --- (In reply to comment #18)
if((flags & GMEM_NOTIFY) == GMEM_NOTIFY) flags &= ~GMEM_NOTIFY;
It would be much simpler to mask out GMEM_NOTIFY unconditionally, and probably the other ones Anastasius listed:
GMEM_DDESHARE GMEM_DISCARDABLE GMEM_LOWER GMEM_NOCOMPACT GMEM_NODISCARD GMEM_NOT_BANKED GMEM_NOTIFY GMEM_SHARE
But that still requires a test case which calls GlobalAlloc() and GlobalFlags().