GetUpdateRect function user32
The GetUpdateRect function retrieves the coordinates of the smallest rectangle that completely encloses the update region of the specified window. GetUpdateRect retrieves the rectangle in logical coordinates. If there is no update region, GetUpdateRect retrieves an empty rectangle (sets all coordinates to zero).
BOOL GetUpdateRect(
HWND hWnd,
LPRECT lpRect,
BOOL bErase
);
Implementation
int GetUpdateRect(int hWnd, Pointer<RECT> lpRect, int bErase) =>
_GetUpdateRect(hWnd, lpRect, bErase);