On Sun, Jan 14, 2001 at 02:48:21PM -0600, Andreas Mohr wrote:
> On Sun, Jan 14, 2001 at 06:45:55PM +0100, Uwe Bonnes wrote:
> > Hallo,
> > 
> > as reported yesterday, some application depended on DeleteObject
> > failing as long as the Object is stillselected into some DC. Andi also
> > noted the need for such a check some time ago. This patch adds an
> > entry "refcount" in GDIOBJHDR and increments/decrements this refcount
> > in SelectObject and denies DeleteObjects if the refcount isn't zero.
> Sorry, this is not correct, I think.
> 
> First, GDIOBJHDR is a *fixed* structure AFAIK. It should not be changed.

The header is the same as 16bit GDI at the momenet, however the
storage of some of the actual objects is completely different, so I
don't think we lose much by breaking this 'compatibility'.

Huw.
-- 
   Dr. Huw D M Davies              | Clarendon Laboratory
   [EMAIL PROTECTED]      | Parks Road
   Tel: +44 1865 272390            | Oxford OX1 3PU
   Fax: +44 1865 272400            | UK

Reply via email to