Let enhmetafiles reuse gdi handles. This works by a dc 'registering'
commit9e8ce63e2efc35f745d7865b28815a715b766d18
authorHuw Davies <huw@codeweavers.com>
Tue, 25 Nov 2003 05:03:09 +0000 (25 05:03 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 25 Nov 2003 05:03:09 +0000 (25 05:03 +0000)
treebf09a0276c0f7a31438f0038a6010ba14bd81a1d
parent6281d82e8701ceb9a825a28486f15cb75a1eb0fd
Let enhmetafiles reuse gdi handles.  This works by a dc 'registering'
with an object that it wants to know when the object is deleted. Until
the dc gets delete notification it's free to assume that it doesn't
need to write the create record for that object again.  Upon receiving
the delete notification it writes the DeleteObject record. Windows
seems to do it this way too.
dlls/gdi/enhmfdrv/enhmetafiledrv.h
dlls/gdi/enhmfdrv/init.c
dlls/gdi/enhmfdrv/objects.c
dlls/gdi/mfdrv/init.c
include/gdi.h
objects/gdiobj.c