procedure UpdateOverlayDisplay( Flags: Longint );
Calls the interface UpdateOverlayDisplay method to repaint the rectangles in the dirty rectangle list of all active overlays. This clears the dirty rectangle list. See IDirectDrawSurface3::UpdateOverlayDisplay for more information.
See also AddOverlayDirtyRect.