ValidateRect function (winuser.h) - Win32 apps

The ValidateRect function validates the client area within a rectangle by removing the rectangle from the update region of the specified window.