##### UpdateOverlay

##### Applies to

TDirectDrawSurface

##### Declaration

procedure UpdateOverlay( const SrcRect: TRect; DestSurface: TDirectDrawSurface; const DestRect: TRect; Flags: Longint; const OverlayFx: TDDOverlayFx );

##### Description

Calls the interface UpdateOverlay method to reposition or modify the visual attributes of an overlay surface. See IDirectDrawSurface3::UpdateOverlay for more information.