This function is typically used to prevent drawing into parts of a window that are known to be invalid, as during an incremental update optimization process.
It is the application's responsibility to reset the clipping region when necessary.