GetClipBox function
The GetClipBox function retrieves the dimensions of the tightest bounding rectangle that can be drawn around the current visible area on the device. The visible area is defined by the current clipping region or clip path, as well as any overlapping windows.
SelectClipRgn function
The SelectClipRgn function selects a region as the current clipping region for the specified device context.
See MSDN