Just a thought.

I spent a lot of my working life with OS/2.  This of course shares a lot of
ancestry with NT.  There were some APIs in the move from 16 to 32 bit that
really only changed the apparent length of values, their real values
remained 16 bit.  All manner of garbage floats around in the upper word,
and some programs got confused by this.  Maybe this is a remenant of those
days and this program expects that this value is really only a 16 bit
value.





Alexandre Julliard <[EMAIL PROTECTED]> on 18-09-2000 10:21:01 PM

To:   Uwe Bonnes <[EMAIL PROTECTED]>
cc:   [EMAIL PROTECTED] (bcc: David Goodenough/DGA/GB)
Subject:  Re: What is this code supposed to do?




Uwe Bonnes <[EMAIL PROTECTED]> writes:

> The return value is truncated by the movzwl  %eax,%edi
> instruction. The programm seems to work with win9x.
>
> What to do about that?

Probably the only thing is to add an exception handler in GlobalUnlock
and ignore the bogus parameter.

--
Alexandre Julliard
[EMAIL PROTECTED]




Reply via email to