from msdn

BOOL PtInRect(
CONST RECT *lprc, // rectangle
POINT pt // point
);

as in the user32.inc + user32.lib

PtInRect PROTO :DWORD,:DWORD,:DWORD


bye

eko
Posted on 2004-07-23 05:20:49 by eko
It is correct. POINT is made up of 2 dwords. You do not push the address to the structure, but instead push the whole structure onto the stack.
Posted on 2004-07-23 06:56:07 by roticv
yeah :stupid: i found this later when
tried the function . invoke Ptinrect,addr rc,pt.x,pt.y
Posted on 2004-07-23 07:44:07 by eko