GetUpdateRect

[DllImport("user32.dll", SetLastError = true)]
public static extern bool GetUpdateRect(
   IntPtr hWnd,
   out RECT lpRect,
   bool bErase
);

Microsoft documentation: Link

Last updated