SetCursorPos function user32
Moves the cursor to the specified screen coordinates.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-setcursorpos.
Implementation
Win32Result<bool> SetCursorPos(int x, int y) {
final result_ = SetCursorPos_Wrapper(x, y);
return .new(value: result_.value.i32 != FALSE, error: result_.error);
}