ClipCursor function user32

int ClipCursor(
  1. Pointer<RECT> lpRect
)

Confines the cursor to a rectangular area on the screen. If a subsequent cursor position (set by the SetCursorPos function or the mouse) lies outside the rectangle, the system automatically adjusts the position to keep the cursor inside the rectangular area.

BOOL ClipCursor(
  const RECT *lpRect
);

Implementation

int ClipCursor(Pointer<RECT> lpRect) => _ClipCursor(lpRect);