1 Oct
2016
1 Oct
'16
7:12 a.m.
Sebastian Lackner <sebastian(a)fds-team.de> writes:
I assume the purpose of the check was to detect GMEM_MOVEABLE handles, in order to mimic WinXP/Win2003 behavior for SetClipboardData. Unfortunately, the cache implemented in GetClipboardData() also uses GMEM_FIXED, which means even sane apps will leak memory on each cache flush.
Tests suggest that Windows Vista+ also release GMEM_FIXED pointers passed to SetClipboardData, so there is probably no need to keep this hack.
That's probably OK, but could you please add the test case too? -- Alexandre Julliard julliard(a)winehq.org