http://bugs.winehq.org/show_bug.cgi?id=8241
Peter Hedlund peter@peterandlinda.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |peter@peterandlinda.com
--- Comment #18 from Peter Hedlund peter@peterandlinda.com 2009-05-18 14:52:08 --- Based on the information in #13, a simple (and I assume dirty) way to get Prism working is to remove the GMEM_NOTIFY flag like this:
--- snip dlls/kernel32/heap.c ---
GLOBAL WINAPI GlobalAlloc( UINT flags, /* [in] Object allocation attributes */ SIZE_T size /* [in] Number of bytes to allocate */ ) { ...
pintern = HeapAlloc(GetProcessHeap(), 0, sizeof(GLOBAL32_INTERN)); if (pintern) { if((flags & GMEM_NOTIFY) == GMEM_NOTIFY) flags &= ~GMEM_NOTIFY; pintern->Magic = MAGIC_GLOBAL_USED; pintern->Flags = flags >> 8; pintern->LockCount = 0;
--- snip dlls/kernel32/heap.c ---
With this Prism 3, 4, and 5 appear to work. There are some painting issues.