MoveWindow function user32
Changes the position and dimensions of the specified window. For a top-level window, the position and dimensions are relative to the upper-left corner of the screen. For a child window, they are relative to the upper-left corner of the parent window's client area.
BOOL MoveWindow(
HWND hWnd,
int X,
int Y,
int nWidth,
int nHeight,
BOOL bRepaint
);
Implementation
int MoveWindow(int hWnd, int X, int Y, int nWidth, int nHeight, int bRepaint) =>
_MoveWindow(hWnd, X, Y, nWidth, nHeight, bRepaint);