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
BOOL PtInRect(
CONST RECT *lprc, // rectangle
POINT pt // point
);
as in the user32.inc + user32.lib
PtInRect PROTO :DWORD,:DWORD,:DWORD
bye
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.
yeah :stupid: i found this later when
tried the function . invoke Ptinrect,addr rc,pt.x,pt.y
tried the function . invoke Ptinrect,addr rc,pt.x,pt.y