A region is a rectangle, polygon, ellipse (or a combination of two or more of these shapes) that Windows applications use to define a part of the client area which should be painted, to define a part of the client area which should be inverted, to define a part of the client area in which output can appear, and to perform hit-testing.