InvalidateRect function (winuser.h) - Win32 apps

The InvalidateRect function adds a rectangle to the specified window's update region. The update region represents the portion of the window's client area that must be redrawn.