AnimateWindow

[DllImport("user32.dll", SetLastError = true)] [return: MarshalAs(UnmanagedType.Bool)]
public static extern bool AnimateWindow(
   IntPtr hwnd,
   uint dwTime,
   uint dwFlags
);

Microsoft documentation: Link

Last updated