Group: Cursor - Library: user32
BOOL ClipCursor(
CONST RECT *lpRect // screen coordinates
);
DECLARE SHORT ClipCursor IN user32 STRING lpRect
lpRect [in] Pointer to the RECT structure that contains the screen coordinates of the upper-left and lower-right corners of the confining rectangle.
If the function succeeds, the return value is nonzero.