16 bit hwnd in SendmessageA/W

Rein Klazes wijn at wanadoo.nl
Sat May 7 12:25:01 CDT 2005


On Sat, 7 May 2005 19:48:02 +0900, you wrote:

> "Rein Klazes" <wijn at wanadoo.nl> wrote:
> 
> > >> E:\\MSVC\\BIN\\WINTEE32.EXE -h2a -vn
> > 
> > 5e is the 16 bit window handle.
> 
> 2a I'd guess, not 5e.

You guess correctly.

> 
> > Here it sends data to the IDE:
> > 
> > >> 0035:Call user32.SendMessageA(ffff002a,0000004a,0008004a,77a3fe28) ret=77a51649
> > 
> > That does not work, SendMessageA does only expect full 32 bit win
> > handles. 
> 
> You need to find out why and how 2a became ffff002a in the first place.

Setting the hiword to ffff, I think. I hoped I did not need to prove
that by going through the disassembled code.

Rein.



More information about the wine-devel mailing list